about summary refs log tree commit diff
path: root/pkgs/applications/audio/plexamp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/plexamp/default.nix')
-rw-r--r--pkgs/applications/audio/plexamp/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/audio/plexamp/default.nix b/pkgs/applications/audio/plexamp/default.nix
index cb682f91b6d3c..47b74cc865b49 100644
--- a/pkgs/applications/audio/plexamp/default.nix
+++ b/pkgs/applications/audio/plexamp/default.nix
@@ -25,7 +25,7 @@ in appimageTools.wrapType2 {
     install -m 444 -D ${appimageContents}/plexamp.desktop $out/share/applications/plexamp.desktop
     install -m 444 -D ${appimageContents}/plexamp.png \
       $out/share/icons/hicolor/512x512/apps/plexamp.png
-    substituteInPlace $out/share/applications/plexamp.desktop \
+    substituteInPlace $out/share/applications/${pname}.desktop \
       --replace 'Exec=AppRun' 'Exec=${pname}'
   '';