Merge pull request #15302 from taku0/firefox-bin-icon

firefox-bin: fixed missing icon
This commit is contained in:
zimbatm 2016-05-08 13:30:44 +01:00
commit 9c47b07bc3

View file

@ -138,6 +138,9 @@ stdenv.mkDerivation {
patchelf --set-rpath "$libPath" \ patchelf --set-rpath "$libPath" \
"$out/usr/lib/firefox-bin-${version}/{}" \; "$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. # Create a desktop item.
mkdir -p $out/share/applications mkdir -p $out/share/applications
cat > $out/share/applications/firefox.desktop <<EOF cat > $out/share/applications/firefox.desktop <<EOF