NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.38k stars 13.61k forks source link

Notable icon is broken even after reboot #335160

Open KCynk opened 4 weeks ago

KCynk commented 4 weeks ago

Describe the bug

Notable icon is broken even after reboot

Screenshot from 2024-08-16 19-13-15

Notify maintainers

Maintainers

This package has no maintainers. If you find it useful, please consider becoming a maintainer!
sudo  nix-shell -p nix-info --run "nix-info -m"
Place your finger on the fingerprint reader
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.45, NixOS, 24.11 (Vicuna), 24.11pre666839.c3aa7b8938b1`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
dotlambda commented 4 weeks ago

Does

diff --git a/pkgs/applications/misc/notable/default.nix b/pkgs/applications/misc/notable/default.nix
index cccb55f5e5f7..91c15f9de50b 100644
--- a/pkgs/applications/misc/notable/default.nix
+++ b/pkgs/applications/misc/notable/default.nix
@@ -26,8 +26,7 @@ appimageTools.wrapType2 rec {

   extraInstallCommands = ''
     install -m 444 -D ${appimageContents}/notable.desktop $out/share/applications/notable.desktop
-    install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/1024x1024/apps/notable.png \
-      $out/share/icons/hicolor/1024x1024/apps/notable.png
+    cp -r ${appimageContents}/usr/share/icons $out/share
     substituteInPlace $out/share/applications/notable.desktop \
       --replace 'Exec=AppRun' 'Exec=${pname}'
     source "${makeWrapper}/nix-support/setup-hook"

help?