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/steam/chrootenv.nix | |
parent | b3e7923b94bb99cebb699bcd75486aa1e277dfe2 (diff) | |
download | nixpkgs-0edad9f5c8d3deb6950537256f6077c2b086896c.tar nixpkgs-0edad9f5c8d3deb6950537256f6077c2b086896c.tar.gz nixpkgs-0edad9f5c8d3deb6950537256f6077c2b086896c.tar.bz2 nixpkgs-0edad9f5c8d3deb6950537256f6077c2b086896c.tar.lz nixpkgs-0edad9f5c8d3deb6950537256f6077c2b086896c.tar.xz nixpkgs-0edad9f5c8d3deb6950537256f6077c2b086896c.tar.zst nixpkgs-0edad9f5c8d3deb6950537256f6077c2b086896c.zip |
steam: add optional extraProfile
Diffstat (limited to 'pkgs/games/steam/chrootenv.nix')
-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 c44a166268c..4de5f660818 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} |