summaryrefslogtreecommitdiffstats
path: root/pkgs/applications
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2020-12-25 19:35:47 +0100
committerGitHub <noreply@github.com>2020-12-25 19:35:47 +0100
commit445cb38134d5df65de8c1d2f916654447fed1710 (patch)
tree1cacc5401957d1ad88ffe194e91f6f45df032047 /pkgs/applications
parent2b38687d6968f0e1243e8e2dcba7d09319e69e85 (diff)
parent5a7530e762912a6b32e7f77b69ea341dd000bcc2 (diff)
Merge pull request #106815 from mayflower/firefox-pipewire-fix-106812
firefox-wayland: fix ScreenCast #106812
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/networking/browsers/firefox/common.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index 3e1bd2fbc094..70fde21823a3 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -347,6 +347,10 @@ buildStdenv.mkDerivation ({
}/lib:$(patchelf --print-rpath "$out"/lib/${binaryName}*/libxul.so)" \
"$out"/lib/${binaryName}*/libxul.so
patchelf --add-needed ${xorg.libXScrnSaver.out}/lib/libXss.so $out/lib/${binaryName}/${binaryName}
+ ${lib.optionalString (pipewireSupport && lib.versionAtLeast ffversion "83") ''
+ patchelf --add-needed "${lib.getLib pipewire}/lib/libpipewire-0.3.so" \
+ "$out"/lib/${binaryName}/${binaryName}
+ ''}
'';
doInstallCheck = true;