steam: Added extraPkgs option to chroot env.

authored by Itai Zukerman and committed by Nikolay Amiantov ad7bee4e c7335550

+3 -1
+3 -1
pkgs/games/steam/chrootenv.nix
··· 2 2 , steam-runtime, steam-runtime-i686 ? null 3 3 , withJava ? false 4 4 , withPrimus ? false 5 + , extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs 5 6 , nativeOnly ? false 6 7 , runtimeOnly ? false 7 8 , newStdcpp ? false ··· 37 38 # Zoneinfo 38 39 etc-zoneinfo 39 40 ] ++ lib.optional withJava jdk 40 - ++ lib.optional withPrimus primus2; 41 + ++ lib.optional withPrimus primus2 42 + ++ extraPkgs pkgs; 41 43 42 44 in buildFHSUserEnv rec { 43 45 name = "steam";