steam: Allow overriding privateTmp (#387186)

This commit is contained in:
Arne Keller
2025-03-14 23:06:33 +01:00
committed by GitHub
+2 -3
View File
@@ -10,11 +10,12 @@
extraBwrapArgs ? [ ], # extra arguments to pass to bubblewrap (real default is at usage site)
extraArgs ? "", # arguments to always pass to steam
extraEnv ? { }, # Environment variables to pass to Steam
privateTmp ? true, # if the steam bubblewrap should isolate /tmp
}:
let
steamEnv = { name, runScript, passthru ? {}, meta ? {} }:
buildFHSEnv {
inherit name runScript passthru meta;
inherit name runScript passthru meta privateTmp;
multiArch = true;
includeClosures = true;
@@ -105,8 +106,6 @@ let
${extraProfile}
'';
privateTmp = true;
inherit extraPreBwrapCmds;
extraBwrapArgs = [