Commit cb55cd08 authored by K900's avatar K900
Browse files

steam.buildRuntimeEnv: plumb privateTmp

parent 791ee7f0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -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" ''