steam.buildRuntimeEnv: plumb privateTmp

This commit is contained in:
K900
2025-08-09 08:52:10 +03:00
parent 791ee7f073
commit cb55cd0848
2 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -5,7 +5,7 @@
extraLibraries ? pkgs: [ ],
}:
(steam.override { privateTmp = false; }).buildRuntimeEnv {
steam.buildRuntimeEnv {
pname = "heroic";
inherit (heroic-unwrapped) version meta;
@@ -19,4 +19,6 @@
ln -s ${heroic-unwrapped}/share/applications $out/share
ln -s ${heroic-unwrapped}/share/icons $out/share
'';
privateTmp = false;
}
+3
View File
@@ -21,6 +21,7 @@ let
extraPreBwrapCmds ? "",
extraBwrapArgs ? [ ],
extraEnv ? { },
privateTmp ? true,
...
}@args:
buildFHSEnv (
@@ -150,6 +151,7 @@ buildRuntimeEnv {
extraPreBwrapCmds
extraBwrapArgs
extraEnv
privateTmp
;
runScript = writeShellScript "steam-wrapped" ''
@@ -175,6 +177,7 @@ buildRuntimeEnv {
extraPreBwrapCmds
extraBwrapArgs
extraEnv
privateTmp
;
runScript = writeShellScript "steam-run" ''