From 401a033c6fab4ac564b24d8a466505a72213690f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 27 Mar 2022 18:35:34 +0000 Subject: [PATCH] deltachat-desktop: fix icon --- .../instant-messengers/deltachat-desktop/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix b/pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix index e4d6f71be7ac..f80d8cab8b11 100644 --- a/pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix @@ -81,6 +81,9 @@ in nodejs-14_x.pkgs.deltachat-desktop.override rec { npm prune --production + install -D $out/lib/node_modules/deltachat-desktop/build/icon.png \ + $out/share/icons/hicolor/scalable/apps/deltachat.png + awk '!/^#/ && NF' build/packageignore_list \ | xargs -I {} sh -c "rm -rf {}" || true @@ -91,10 +94,6 @@ in nodejs-14_x.pkgs.deltachat-desktop.override rec { $out/lib/node_modules/deltachat-desktop/html-dist/fonts done - mkdir -p $out/share/icons/hicolor/scalable/apps - ln -s $out/lib/node_modules/deltachat-desktop/build/icon.png \ - $out/share/icons/hicolor/scalable/apps/deltachat.png - makeWrapper ${electronExec} $out/bin/deltachat \ --set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher${stdenv.hostPlatform.extensions.sharedLibrary} \ --add-flags $out/lib/node_modules/deltachat-desktop