forked from mirrors/nixpkgs
steam: add extraLibraries argument
This commit is contained in:
parent
08adaf685e
commit
9da82ca01f
|
@ -1,6 +1,7 @@
|
|||
{ config, stdenv, lib, writeScript, buildFHSUserEnv, steam, glxinfo-i686
|
||||
, steam-runtime-wrapped, steam-runtime-wrapped-i686 ? null
|
||||
, extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs
|
||||
, extraLibraries ? pkgs: [ ] # extra packages to add to multiPkgs
|
||||
, extraProfile ? "" # string to append to profile
|
||||
, nativeOnly ? false
|
||||
, runtimeOnly ? false
|
||||
|
@ -166,7 +167,7 @@ in buildFHSUserEnv rec {
|
|||
librsvg
|
||||
xorg.libXft
|
||||
libvdpau
|
||||
] ++ steamPackages.steam-runtime-wrapped.overridePkgs);
|
||||
] ++ steamPackages.steam-runtime-wrapped.overridePkgs) ++ extraLibraries pkgs;
|
||||
|
||||
extraBuildCommands = if (!nativeOnly) then ''
|
||||
mkdir -p steamrt
|
||||
|
|
Loading…
Reference in a new issue