From 07a83f226ea6608c9ff614b8bb41d898b21410c0 Mon Sep 17 00:00:00 2001 From: taku0 Date: Sun, 8 May 2016 17:06:08 +0900 Subject: [PATCH] firefox-bin: fixed missing icon --- pkgs/applications/networking/browsers/firefox-bin/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/networking/browsers/firefox-bin/default.nix b/pkgs/applications/networking/browsers/firefox-bin/default.nix index bc3a0463fa8..29b84551455 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 <