steam: Allow overriding privateTmp (#387186)
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user