firefox-bin: don't install .desktop file

It's handled by wrapFirefox.
This commit is contained in:
Nikolay Amiantov 2017-04-23 16:34:46 +03:00
parent 6df350ffc8
commit a02b18998f

View File

@ -156,18 +156,6 @@ stdenv.mkDerivation {
# wrapFirefox expects "$out/lib" instead of "$out/usr/lib" # wrapFirefox expects "$out/lib" instead of "$out/usr/lib"
ln -s "$out/usr/lib" "$out/lib" ln -s "$out/usr/lib" "$out/lib"
# Create a desktop item.
mkdir -p $out/share/applications
cat > $out/share/applications/firefox.desktop <<EOF
[Desktop Entry]
Type=Application
Exec=$out/bin/firefox
Icon=$out/usr/lib/firefox-bin-${version}/browser/icons/mozicon128.png
Name=Firefox
GenericName=Web Browser
Categories=Application;Network;
EOF
gappsWrapperArgs+=(--argv0 "$out/bin/.firefox-wrapped") gappsWrapperArgs+=(--argv0 "$out/bin/.firefox-wrapped")
''; '';