From ede9acb3d19d981c66082323e0a02c7f42530dc8 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 27 Sep 2017 21:58:04 +0200 Subject: pkgs/build-game: Introduce buildSandbox So far creating the sandbox has been a setup hook, however it's a bit ugly how we gathered the needed paths for the chroot file system by recursively searching for store paths. While I'd like to have the sandbox being built within the main derivation, it really isn't very practical when the build takes longer than 10 minutes. With this implementation however the sandbox builds really fast and we can also modify the sandbox without needing to rebuild a particular game. Signed-off-by: aszlig --- pkgs/games/build-support/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/games/build-support/default.nix') diff --git a/pkgs/games/build-support/default.nix b/pkgs/games/build-support/default.nix index 8e227afc..3017fe8e 100644 --- a/pkgs/games/build-support/default.nix +++ b/pkgs/games/build-support/default.nix @@ -4,5 +4,6 @@ buildGame = callPackage ./build-game.nix { withPulseAudio = config.pulseaudio or true; }; + buildSandbox = callPackage ./build-sandbox {}; buildUnity = callPackage ./build-unity.nix {}; } -- cgit 1.4.1