diff options
author | D Anzorge <d.anzorge@gmail.com> | 2022-03-09 17:48:30 +0100 |
---|---|---|
committer | D Anzorge <d.anzorge@gmail.com> | 2022-03-09 18:52:39 +0100 |
commit | a4ac9a8b491ce942e4f3fce179992a80b4dc4ebe (patch) | |
tree | 7ac8b19eae8228b9b3a962cc5ea3e4d7653437b8 /pkgs/applications/graphics/hdrmerge | |
parent | f02a438ae4eda778a14ea7b0c8fbc1fa89c05474 (diff) |
hdrmerge: fix desktop entry file, install icons
Diffstat (limited to 'pkgs/applications/graphics/hdrmerge')
-rw-r--r-- | pkgs/applications/graphics/hdrmerge/default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/applications/graphics/hdrmerge/default.nix b/pkgs/applications/graphics/hdrmerge/default.nix index 8f518c6c69bde..b0e346331bce8 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; { |