diff --git a/pkgs/applications/misc/masterpdfeditor4/default.nix b/pkgs/applications/misc/masterpdfeditor4/default.nix index 8dffa5b9a8ee..ea54e30ebecd 100644 --- a/pkgs/applications/misc/masterpdfeditor4/default.nix +++ b/pkgs/applications/misc/masterpdfeditor4/default.nix @@ -39,9 +39,9 @@ stdenv.mkDerivation rec { substituteInPlace masterpdfeditor4.desktop \ --replace 'Exec=/opt/master-pdf-editor-4' "Exec=$out/bin" \ --replace 'Path=/opt/master-pdf-editor-4' "Path=$out/bin" \ - --replace 'Icon=/opt/master-pdf-editor-4' "Icon=$out/share/pixmaps" + --replace 'Icon=/opt/master-pdf-editor-4' "Icon=masterpdfeditor4" - install -Dm644 -t $out/share/pixmaps masterpdfeditor4.png + install -Dm644 -t $out/share/icons/hicolor/128x128/apps masterpdfeditor4.png install -Dm644 -t $out/share/applications masterpdfeditor4.desktop install -Dm755 -t $app_dir masterpdfeditor4 install -Dm644 license.txt $out/share/$name/LICENSE