diff --git a/pkgs/applications/audio/hqplayer-desktop/default.nix b/pkgs/applications/audio/hqplayer-desktop/default.nix index 18a75f3135aa..9e9a5ecf49ae 100644 --- a/pkgs/applications/audio/hqplayer-desktop/default.nix +++ b/pkgs/applications/audio/hqplayer-desktop/default.nix @@ -73,8 +73,8 @@ mkDerivation rec { postInstall = '' for desktopFile in $out/share/applications/*; do substituteInPlace "$desktopFile" \ - --replace '/usr/bin/' '$out/bin/' \ - --replace '/usr/share/doc/' '$out/share/doc/' + --replace /usr/bin/ $out/bin/ \ + --replace /usr/share/doc/ $out/share/doc/ done gunzip $out/share/doc/${pname}/*.gz