steam: Allow overriding privateTmp (#387186)

authored by Arne Keller and committed by GitHub 759ab8ce 2bd8862b

+2 -3
+2 -3
pkgs/by-name/st/steam/package.nix
··· 10 10 extraBwrapArgs ? [ ], # extra arguments to pass to bubblewrap (real default is at usage site) 11 11 extraArgs ? "", # arguments to always pass to steam 12 12 extraEnv ? { }, # Environment variables to pass to Steam 13 + privateTmp ? true, # if the steam bubblewrap should isolate /tmp 13 14 }: 14 15 let 15 16 steamEnv = { name, runScript, passthru ? {}, meta ? {} }: 16 17 buildFHSEnv { 17 - inherit name runScript passthru meta; 18 + inherit name runScript passthru meta privateTmp; 18 19 19 20 multiArch = true; 20 21 includeClosures = true; ··· 104 105 105 106 ${extraProfile} 106 107 ''; 107 - 108 - privateTmp = true; 109 108 110 109 inherit extraPreBwrapCmds; 111 110