summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-03-10 13:50:06 +0100
committerGitHub <noreply@github.com>2022-03-10 13:50:06 +0100
commit09b4cb3c94d47f8b5d93af8861a32c1f60bef402 (patch)
treeacf6d5aa07e407b34faa22191da88fb72aeb55b3 /pkgs/applications/graphics
parentd885b8136a4e75e9df399fce81d6ae372f98dea9 (diff)
parenta4ac9a8b491ce942e4f3fce179992a80b4dc4ebe (diff)
downloadnixpkgs-09b4cb3c94d47f8b5d93af8861a32c1f60bef402.tar
nixpkgs-09b4cb3c94d47f8b5d93af8861a32c1f60bef402.tar.gz
nixpkgs-09b4cb3c94d47f8b5d93af8861a32c1f60bef402.tar.bz2
nixpkgs-09b4cb3c94d47f8b5d93af8861a32c1f60bef402.tar.lz
nixpkgs-09b4cb3c94d47f8b5d93af8861a32c1f60bef402.tar.xz
nixpkgs-09b4cb3c94d47f8b5d93af8861a32c1f60bef402.tar.zst
nixpkgs-09b4cb3c94d47f8b5d93af8861a32c1f60bef402.zip
Merge pull request #163479 from DeeUnderscore/misc/hdrmerge-desktop
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/hdrmerge/default.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/applications/graphics/hdrmerge/default.nix b/pkgs/applications/graphics/hdrmerge/default.nix
index 8f518c6c69b..b0e346331bc 100644
--- a/pkgs/applications/graphics/hdrmerge/default.nix
+++ b/pkgs/applications/graphics/hdrmerge/default.nix
@@ -55,17 +55,15 @@ mkDerivation rec {
       desktopName = "HDRMerge";
       comment = meta.description;
       icon = "hdrmerge";
-      exec = "@out@/bin/hdrmerge -F";
+      exec = "hdrmerge %F";
       categories = [ "Graphics" ];
       mimeTypes = [ "image/x-dcraw" "image/x-adobe-dng" ];
       terminal = false;
     })
   ];
 
-  postInstallPhase = ''
-    # Make a desktop item
-    mkdir -p $out/share/icons/ $out/share/applications/
-    cp ../data/images/logo.png $out/share/icons/hdrmerge.png
+  postInstall = ''
+    install -Dm444 ../data/images/icon.png $out/share/icons/hicolor/128x128/apps/hdrmerge.png
   '';
 
   meta = with lib; {