git.iko.soy/typeable/nixpkgs
on master help sign in
steam: Added extraPkgs option to chroot env.
commitad7bee4eb406b88c77cb53edbe9d4de44e7e692d authorItai Zukerman <zukerman@math-hat.com> dateSun 28 May 2017, 11:04 (10 years ago) parentc733555
1 file changed+3−1
pkgs/games/steam/chrootenv.nix+3−1
pkgs/games/steam/chrootenv.nix+3−1
@@ -2,6 +2,7 @@
22, steam-runtime, steam-runtime-i686 ? null
33, withJava ? false
44, withPrimus ? false
5+, extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs
56, nativeOnly ? false
67, runtimeOnly ? false
78, newStdcpp ? false
@@ -37,7 +38,8 @@ let
3738 # Zoneinfo
3839 etc-zoneinfo
3940 ] ++ lib.optional withJava jdk
40− ++ lib.optional withPrimus primus2;
41+ ++ lib.optional withPrimus primus2
42+ ++ extraPkgs pkgs;
4143
4244in buildFHSUserEnv rec {
4345 name = "steam";