diff --git a/pkgs/applications/networking/browsers/firefox-bin/default.nix b/pkgs/applications/networking/browsers/firefox-bin/default.nix index bc3a0463fa8b..29b84551455f 100644 --- a/pkgs/applications/networking/browsers/firefox-bin/default.nix +++ b/pkgs/applications/networking/browsers/firefox-bin/default.nix @@ -138,6 +138,9 @@ stdenv.mkDerivation { patchelf --set-rpath "$libPath" \ "$out/usr/lib/firefox-bin-${version}/{}" \; + # wrapFirefox expects "$out/lib" instead of "$out/usr/lib" + ln -s "$out/usr/lib" "$out/lib" + # Create a desktop item. mkdir -p $out/share/applications cat > $out/share/applications/firefox.desktop <