3
0
Fork 0
forked from mirrors/nixpkgs

steam: add extraLibraries argument

This commit is contained in:
Nikolay Amiantov 2018-10-15 02:38:19 +03:00
parent 08adaf685e
commit 9da82ca01f

View file

@ -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