summary refs log tree commit diff
diff options
context:
space:
mode:
authorIgor Sidorov <igor.sidorov@binarycode.ru>2021-07-04 15:28:25 +0300
committerIgor Sidorov <igor.sidorov@binarycode.ru>2021-07-04 15:28:25 +0300
commite28a8e1abeacd760fba767ba00b3e4d15841f933 (patch)
tree4b5550bf39af24b66d4b80b89dc4b7629d1116a8
parentaf7a317f79d07270a5ac036e3d22083f7ff6b2be (diff)
downloadnixpkgs-e28a8e1abeacd760fba767ba00b3e4d15841f933.tar
nixpkgs-e28a8e1abeacd760fba767ba00b3e4d15841f933.tar.gz
nixpkgs-e28a8e1abeacd760fba767ba00b3e4d15841f933.tar.bz2
nixpkgs-e28a8e1abeacd760fba767ba00b3e4d15841f933.tar.lz
nixpkgs-e28a8e1abeacd760fba767ba00b3e4d15841f933.tar.xz
nixpkgs-e28a8e1abeacd760fba767ba00b3e4d15841f933.tar.zst
nixpkgs-e28a8e1abeacd760fba767ba00b3e4d15841f933.zip
joplin-desktop: fix icon
-rw-r--r--pkgs/applications/misc/joplin-desktop/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/misc/joplin-desktop/default.nix b/pkgs/applications/misc/joplin-desktop/default.nix
index 2d9a2ca5904..6279d66b4e9 100644
--- a/pkgs/applications/misc/joplin-desktop/default.nix
+++ b/pkgs/applications/misc/joplin-desktop/default.nix
@@ -55,7 +55,8 @@ let
       install -Dm444 ${appimageContents}/@joplinapp-desktop.desktop -t $out/share/applications
       install -Dm444 ${appimageContents}/@joplinapp-desktop.png -t $out/share/pixmaps
       substituteInPlace $out/share/applications/@joplinapp-desktop.desktop \
-        --replace 'Exec=AppRun' 'Exec=${pname}'
+        --replace 'Exec=AppRun' 'Exec=${pname}' \
+        --replace 'Icon=joplin' "Icon=$out/share/pixmaps/@joplinapp-desktop.png"
     '';
   };