From f1dcb1ccd071bde199ee6e03b845ecb3515472bc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 6 Oct 2011 14:10:56 +0000 Subject: [PATCH] * Thunderbird: install a desktop item. svn path=/nixpkgs/trunk/; revision=29703 --- .../networking/mailreaders/thunderbird/7.x.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/mailreaders/thunderbird/7.x.nix b/pkgs/applications/networking/mailreaders/thunderbird/7.x.nix index 1f51a8e63b5..fb84271787c 100644 --- a/pkgs/applications/networking/mailreaders/thunderbird/7.x.nix +++ b/pkgs/applications/networking/mailreaders/thunderbird/7.x.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation { buildInputs = [ pkgconfig perl python zip bzip2 gtk dbus_glib alsaLib libIDL nspr libnotify - libnotify cairo pixman fontconfig yasm mesa nss + libnotify cairo pixman fontconfig yasm mesa /* nss */ ]; patches = [ @@ -69,6 +69,18 @@ stdenv.mkDerivation { substituteInPlace $out/lib/thunderbird-*/thunderbird \ --replace /bin/pwd "$(type -tP pwd)" \ --replace /bin/ls "$(type -tP ls)" + + # Create a desktop item. + mkdir -p $out/share/applications + cat > $out/share/applications/thunderbird.desktop <