1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00

chromium: fixup plugins with multiple outputs

Chromium+flash seem to work fine now.
This commit is contained in:
Vladimír Čunát 2016-03-11 15:10:30 +01:00
parent c801cd1a04
commit 4c0125bc8f

View file

@ -45,6 +45,7 @@ let
phases = [ "unpackPhase" "patchPhase" "installPhase" "checkPhase" ];
outputs = [ "flash" "widevine" ];
out = "flash"; # outputs TODO: is this a hack?
unpackCmd = let
chan = if source.channel == "dev" then "chrome-unstable"
@ -64,7 +65,7 @@ let
'';
patchPhase = let
rpaths = [ stdenv.cc.cc ];
rpaths = [ stdenv.cc.cc.lib ];
mkrpath = p: "${makeSearchPath "lib64" p}:${makeSearchPath "lib" p}";
in ''
for sofile in PepperFlash/libpepflashplayer.so \