anchor.diff:      hash = "sha256-38HSjR+rQWPzMOjq1abLn/MP3DCz5YzBg0v2kBsQmR4=";
     };
   
  -  nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
  +  nativeBuildInputs = [
  +    autoPatchelfHook
  +    makeWrapper
  +    xdg-utils # Required for desktop integration
  +    which
  +  ];
   
     buildInputs = [
       alsaLib
  
positive.code: , lame
  , ffmpeg
  , vlc
  
  , jackSupport ? true, libjack2
  , pulseaudioSupport ? config.pulseaudio or true, libpulseaudio
  
negative.code:   installPhase = ''
      runHook preInstall
  
      HOME="$out/share" XDG_DATA_HOME="$out/share" ./install-reaper.sh \
        --install $out/opt \
        --integrate-user-desktop
      rm $out/opt/REAPER/uninstall-reaper.sh
  