spotifyd: set default arguments internally

This commit is contained in:
seth 2024-07-12 17:53:28 -04:00
parent 2977213b60
commit acc1b3260e
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86
2 changed files with 6 additions and 11 deletions

View File

@ -1,8 +1,8 @@
{ lib, stdenv, fetchFromGitHub, rustPackages, pkg-config, openssl
, withALSA ? true, alsa-lib
, withPulseAudio ? false, libpulseaudio
, withPortAudio ? false, portaudio
, withMpris ? false
{ lib, stdenv, config, fetchFromGitHub, rustPackages, pkg-config, openssl
, withALSA ? stdenv.isLinux, alsa-lib
, withPulseAudio ? config.pulseaudio or stdenv.isLinux, libpulseaudio
, withPortAudio ? stdenv.isDarwin, portaudio
, withMpris ? stdenv.isLinux
, withKeyring ? false
, dbus
}:

View File

@ -31378,12 +31378,7 @@ with pkgs;
spotify-cli-linux = callPackage ../applications/audio/spotify-cli-linux { };
spotifyd = callPackage ../applications/audio/spotifyd {
withALSA = stdenv.isLinux;
withPulseAudio = config.pulseaudio or stdenv.isLinux;
withPortAudio = stdenv.isDarwin;
withMpris = stdenv.isLinux;
};
spotifyd = callPackage ../applications/audio/spotifyd { };
srain = callPackage ../applications/networking/irc/srain { };