diff options
author | aszlig <aszlig@redmoonstudios.org> | 2017-10-03 21:47:02 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2017-10-03 23:41:39 +0200 |
commit | b7e0a4c55944b266f2a6c2aa65d093eb31dcc3ad (patch) | |
tree | 7d0157f09c5c13ca30ab887c8039ff6909d1bad3 /pkgs/games/build-support/build-unity.nix | |
parent | 0bf66bd8d1a1db8c512c66069731bf67a9836a44 (diff) |
pkgs/build-game: Enable sandbox by default
This is using buildSandbox with the addition of adding LD_LIBRARY_PATH to the default runtimePathVars. I've also renamed the attribute to be called runtimePathVars instead of runtimePathVariables, simply because it's shorter. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/games/build-support/build-unity.nix')
-rw-r--r-- | pkgs/games/build-support/build-unity.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/games/build-support/build-unity.nix b/pkgs/games/build-support/build-unity.nix index bdca83eb..596c65be 100644 --- a/pkgs/games/build-support/build-unity.nix +++ b/pkgs/games/build-support/build-unity.nix @@ -27,6 +27,8 @@ in buildGame ({ mesa xorg.libX11 xorg.libXcursor xorg.libXrandr libudev zlib ]; + extraSandboxPaths = [ "$XDG_CONFIG_HOME/unity3d" ]; + installPhase = '' runHook preInstall |