From f26ce2bf3bc159077b5c2a50e0c51f18490c5f2d Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Thu, 11 Aug 2022 11:19:09 -0600 Subject: [PATCH] tidal-hifi: patch out Exec's absolute path in .desktop file --- pkgs/applications/audio/tidal-hifi/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/audio/tidal-hifi/default.nix b/pkgs/applications/audio/tidal-hifi/default.nix index 1af5357cf0eb..ab298c9d8514 100644 --- a/pkgs/applications/audio/tidal-hifi/default.nix +++ b/pkgs/applications/audio/tidal-hifi/default.nix @@ -106,6 +106,8 @@ stdenv.mkDerivation rec { makeWrapper $out/opt/tidal-hifi/tidal-hifi $out/bin/tidal-hifi \ --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}" \ "''${gappsWrapperArgs[@]}" + substituteInPlace $out/share/applications/tidal-hifi.desktop --replace \ + "/opt/tidal-hifi/tidal-hifi" "tidal-hifi" ''; meta = with lib; {