diff options
Diffstat (limited to 'pkgs/applications/audio/tauon/default.nix')
-rw-r--r-- | pkgs/applications/audio/tauon/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/audio/tauon/default.nix b/pkgs/applications/audio/tauon/default.nix index 427c1e9e5dca8..a75110c15da66 100644 --- a/pkgs/applications/audio/tauon/default.nix +++ b/pkgs/applications/audio/tauon/default.nix @@ -57,6 +57,8 @@ stdenv.mkDerivation rec { patchShebangs compile-phazor.sh + substituteInPlace compile-phazor.sh --replace 'gcc' '${stdenv.cc.targetPrefix}cc' + substituteInPlace extra/tauonmb.desktop --replace 'Exec=/opt/tauon-music-box/tauonmb.sh' 'Exec=${placeholder "out"}/bin/tauon' ''; @@ -95,7 +97,6 @@ stdenv.mkDerivation rec { natsort pillow plexapi - pulsectl pycairo pychromecast pylast @@ -105,7 +106,8 @@ stdenv.mkDerivation rec { requests send2trash setproctitle - ] ++ lib.optional withDiscordRPC pypresence; + ] ++ lib.optional withDiscordRPC pypresence + ++ lib.optional stdenv.isLinux pulsectl; makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ffmpeg]}" @@ -134,6 +136,6 @@ stdenv.mkDerivation rec { changelog = "https://github.com/Taiko2k/TauonMusicBox/releases/tag/v${version}"; license = licenses.gpl3; maintainers = with maintainers; [ jansol ]; - platforms = platforms.linux; + platforms = platforms.linux ++ platforms.darwin; }; } |