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
|
{ config, stdenv, lib, writeScript, buildFHSUserEnv, steam, glxinfo-i686
|
||||||
, steam-runtime-wrapped, steam-runtime-wrapped-i686 ? null
|
, steam-runtime-wrapped, steam-runtime-wrapped-i686 ? null
|
||||||
, extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs
|
, extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs
|
||||||
|
, extraLibraries ? pkgs: [ ] # extra packages to add to multiPkgs
|
||||||
, extraProfile ? "" # string to append to profile
|
, extraProfile ? "" # string to append to profile
|
||||||
, nativeOnly ? false
|
, nativeOnly ? false
|
||||||
, runtimeOnly ? false
|
, runtimeOnly ? false
|
||||||
@ -166,7 +167,7 @@ in buildFHSUserEnv rec {
|
|||||||
librsvg
|
librsvg
|
||||||
xorg.libXft
|
xorg.libXft
|
||||||
libvdpau
|
libvdpau
|
||||||
] ++ steamPackages.steam-runtime-wrapped.overridePkgs);
|
] ++ steamPackages.steam-runtime-wrapped.overridePkgs) ++ extraLibraries pkgs;
|
||||||
|
|
||||||
extraBuildCommands = if (!nativeOnly) then ''
|
extraBuildCommands = if (!nativeOnly) then ''
|
||||||
mkdir -p steamrt
|
mkdir -p steamrt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user