diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-03-12 02:57:12 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-03-15 04:55:48 +0100 |
commit | 291e3b31567d9e28e6a29a17065861e479f896f9 (patch) | |
tree | ecf21dd634e338125b2a83de8070fc65ca47f6ae /machines/default.nix | |
parent | 4c1051225a1bc99f3bab8512e26c221e860565f0 (diff) |
games/starbound: Refactor to use JQ for bootconfig
While JQ is a beast of its own implementing its own turing complete language, it *is* certainly useful and better than sed to replace path values. Now we have a new bootOverrides attribute set, which is converted into JSON and then merged with the original sbboot.config by JQ at the time we're setting up the XDG_DATA_HOME directory. The reason this is necessary is that we can't use environment variables directly in the boot configuration of Starbound, so we need to write the boot configuration at initialization time with the absolute paths to XDG_DATA_HOME. Another change here is that we now reference the upstream store path directly instead of copying over almost everything to our build result. This has the advantage that we have fewer duplication and thus fewer disk I/O while building. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines/default.nix')
0 files changed, 0 insertions, 0 deletions