about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders
diff options
context:
space:
mode:
authorTobias Bora <tobias.bora@gmail.com>2020-12-16 10:59:15 +0100
committerTobias Bora <tobias.bora@gmail.com>2020-12-16 10:59:15 +0100
commit52d952a69df9d6b2a1ed3dcd37ccb8220895dc70 (patch)
tree376ed99667656526ffcd10da1d35737a1a9b644e /pkgs/applications/networking/mailreaders
parent00b8fa792b2d39ef1b42848059ff15d50341decc (diff)
thunderbird: fix missing icon issue
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r--pkgs/applications/networking/mailreaders/thunderbird/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/default.nix b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
index 58eae867487fc..e5d9d8932f235 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird/default.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
@@ -266,7 +266,7 @@ stdenv.mkDerivation rec {
       genericName = "Mail Reader";
       name = "thunderbird";
       exec = "thunderbird %U";
-      icon = "$out/lib/thunderbird/chrome/icons/default/default256.png";
+      icon = "thunderbird";
       mimeType = lib.concatStringsSep ";" [
         # Email
         "x-scheme-handler/mailto"
@@ -286,6 +286,7 @@ stdenv.mkDerivation rec {
   postInstall = ''
     # TODO: Move to a dev output?
     rm -rf $out/include $out/lib/thunderbird-devel-* $out/share/idl
+    install -Dm 444 $out/lib/thunderbird/chrome/icons/default/default256.png $out/share/icons/hicolor/256x256/apps/thunderbird.png
   '';
 
   preFixup = ''