diff options
author | ajs124 <git@ajs124.de> | 2018-06-03 23:49:27 +0200 |
---|---|---|
committer | ajs124 <git@ajs124.de> | 2018-06-03 23:49:27 +0200 |
commit | 0edad9f5c8d3deb6950537256f6077c2b086896c (patch) | |
tree | 78159b7f88b5de94007c137e207914ddb2f41d5a /pkgs/games | |
parent | b3e7923b94bb99cebb699bcd75486aa1e277dfe2 (diff) |
steam: add optional extraProfile
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/steam/chrootenv.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/games/steam/chrootenv.nix b/pkgs/games/steam/chrootenv.nix index c44a166268cc5..4de5f66081869 100644 --- a/pkgs/games/steam/chrootenv.nix +++ b/pkgs/games/steam/chrootenv.nix @@ -3,6 +3,7 @@ , withJava ? false , withPrimus ? false , extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs +, extraProfile ? "" # string to append to profile , nativeOnly ? false , runtimeOnly ? false }: @@ -178,7 +179,7 @@ in buildFHSUserEnv rec { profile = '' export STEAM_RUNTIME=${if nativeOnly then "0" else "/steamrt"} - ''; + '' + extraProfile; runScript = writeScript "steam-wrapper.sh" '' #!${stdenv.shell} |