Unverified Commit 759ab8ce authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

steam: Allow overriding privateTmp (#387186)

parents 2bd8862b 9858b625
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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 = [