Merge pull request #107016 from tobiasBora/2020_thunderbird_add_icon

thunderbird: fix missing icon issue
This commit is contained in:
Bernardo Meurer 2020-12-29 01:22:55 +00:00 committed by GitHub
commit 0ca60d3ba0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -268,7 +268,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"
@ -288,6 +288,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
'';
# Note on GPG support: