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