mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
firefox-bin: don't install .desktop file
It's handled by wrapFirefox.
This commit is contained in:
parent
6df350ffc8
commit
a02b18998f
|
@ -156,18 +156,6 @@ stdenv.mkDerivation {
|
|||
# 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 <<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")
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue