steam: Added extraPkgs option to chroot env.

This commit is contained in:
Itai Zukerman 2017-05-28 11:04:25 -07:00 committed by Nikolay Amiantov
parent c73355506a
commit ad7bee4eb4

View File

@ -2,6 +2,7 @@
, steam-runtime, steam-runtime-i686 ? null , steam-runtime, steam-runtime-i686 ? null
, withJava ? false , withJava ? false
, withPrimus ? false , withPrimus ? false
, extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs
, nativeOnly ? false , nativeOnly ? false
, runtimeOnly ? false , runtimeOnly ? false
, newStdcpp ? false , newStdcpp ? false
@ -37,7 +38,8 @@ let
# Zoneinfo # Zoneinfo
etc-zoneinfo etc-zoneinfo
] ++ lib.optional withJava jdk ] ++ lib.optional withJava jdk
++ lib.optional withPrimus primus2; ++ lib.optional withPrimus primus2
++ extraPkgs pkgs;
in buildFHSUserEnv rec { in buildFHSUserEnv rec {
name = "steam"; name = "steam";