From 99d7bdbf4bab9f2b6429e14ce3c8cb7b44b4dd42 Mon Sep 17 00:00:00 2001 From: pancaek <20342389+pancaek@users.noreply.github.com> Date: Wed, 29 Oct 2025 17:01:26 -0700 Subject: [PATCH] reaper: remove absolute path in desktop file --- pkgs/applications/audio/reaper/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/audio/reaper/default.nix b/pkgs/applications/audio/reaper/default.nix index bdbd58ff0be4..ce4d4abc9a07 100644 --- a/pkgs/applications/audio/reaper/default.nix +++ b/pkgs/applications/audio/reaper/default.nix @@ -127,6 +127,10 @@ stdenv.mkDerivation rec { mkdir $out/bin ln -s $out/opt/REAPER/reaper $out/bin/ + # Avoid store path in Exec, since we already link to $out/bin + substituteInPlace $out/share/applications/cockos-reaper.desktop \ + --replace-fail "Exec=\"$out/opt/REAPER/reaper\"" "Exec=reaper" + runHook postInstall '';