From 0baed3d787e16ac752e62b08ecf8e45ce4dfa1bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sat, 12 Nov 2022 11:14:05 +0100 Subject: [PATCH] joplin-desktop: make Icon= more bitrot resistant Replace Icon= with Icon= so that the desktop file doesn't break when placed in ~/.config/autostart and after a system upgrade + garbage collect cycle. --- pkgs/applications/misc/joplin-desktop/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/joplin-desktop/default.nix b/pkgs/applications/misc/joplin-desktop/default.nix index 47a0fcbebde4..d712712908f0 100644 --- a/pkgs/applications/misc/joplin-desktop/default.nix +++ b/pkgs/applications/misc/joplin-desktop/default.nix @@ -55,7 +55,7 @@ let install -Dm444 ${appimageContents}/@joplinapp-desktop.png -t $out/share/pixmaps substituteInPlace $out/share/applications/@joplinapp-desktop.desktop \ --replace 'Exec=AppRun' 'Exec=${pname}' \ - --replace 'Icon=joplin' "Icon=$out/share/pixmaps/@joplinapp-desktop.png" + --replace 'Icon=joplin' "Icon=@joplinapp-desktop" ''; };