From 52d952a69df9d6b2a1ed3dcd37ccb8220895dc70 Mon Sep 17 00:00:00 2001 From: Tobias Bora Date: Wed, 16 Dec 2020 10:59:15 +0100 Subject: [PATCH] thunderbird: fix missing icon issue --- .../networking/mailreaders/thunderbird/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/mailreaders/thunderbird/default.nix b/pkgs/applications/networking/mailreaders/thunderbird/default.nix index 58eae867487f..e5d9d8932f23 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 = ''