mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
steam: Added extraPkgs option to chroot env.
This commit is contained in:
parent
c73355506a
commit
ad7bee4eb4
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user