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:
parent
c801cd1a04
commit
4c0125bc8f
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue