steamPackages.steam-runtime-wrapped: fix w. multiple outputs
This commit is contained in:
@@ -82,6 +82,7 @@ let
|
|||||||
] ++ lib.optional (!newStdcpp) gcc48.cc;
|
] ++ lib.optional (!newStdcpp) gcc48.cc;
|
||||||
|
|
||||||
overridePkgs = with pkgs; [
|
overridePkgs = with pkgs; [
|
||||||
|
libgpgerror
|
||||||
libpulseaudio
|
libpulseaudio
|
||||||
alsaLib
|
alsaLib
|
||||||
openalSoft
|
openalSoft
|
||||||
@@ -93,18 +94,18 @@ let
|
|||||||
else overridePkgs;
|
else overridePkgs;
|
||||||
steamRuntime = lib.optional (!nativeOnly) steam-runtime;
|
steamRuntime = lib.optional (!nativeOnly) steam-runtime;
|
||||||
|
|
||||||
|
allPkgs = ourRuntime ++ steamRuntime;
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "steam-runtime-wrapped";
|
name = "steam-runtime-wrapped";
|
||||||
|
|
||||||
allPkgs = ourRuntime ++ steamRuntime;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ perl ];
|
nativeBuildInputs = [ perl ];
|
||||||
|
|
||||||
builder = ./build-wrapped.sh;
|
builder = ./build-wrapped.sh;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
buildDir "${toString steam-runtime.libs}" "$allPkgs"
|
buildDir "${toString steam-runtime.libs}" "${toString (map lib.getLib allPkgs)}"
|
||||||
buildDir "${toString steam-runtime.bins}" "$allPkgs"
|
buildDir "${toString steam-runtime.bins}" "${toString (map lib.getBin allPkgs)}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta.hydraPlatforms = [];
|
meta.hydraPlatforms = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user