about summary refs log tree commit diff
path: root/pkgs/games/build-support
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/build-support')
-rw-r--r--pkgs/games/build-support/build-unity.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/build-support/build-unity.nix b/pkgs/games/build-support/build-unity.nix
index 6d7a6cb1..a38e8e76 100644
--- a/pkgs/games/build-support/build-unity.nix
+++ b/pkgs/games/build-support/build-unity.nix
@@ -2,7 +2,7 @@
 , mesa, xorg, libpulseaudio, libudev, zlib
 }:
 
-{ name, version, fullName
+{ name, version, fullName, saveDir
 , nativeBuildInputs ? []
 , buildInputs ? []
 , runtimeDependencies ? []
@@ -31,7 +31,7 @@ in buildGame ({
   sandbox = sandbox // {
     paths = (sandbox.paths or {}) // {
       required = (sandbox.paths.required or []) ++ [
-        "$XDG_CONFIG_HOME/unity3d"
+        "$XDG_CONFIG_HOME/unity3d/${saveDir}"
       ];
     };
   };