tidal-hifi: patch out Exec's absolute path in .desktop file

This commit is contained in:
Aaron Bieber 2022-08-11 11:19:09 -06:00 committed by Cole Helbling
parent 0b4b412714
commit f26ce2bf3b

View File

@ -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; {