spotify-player: fix x86_64-darwin

This commit is contained in:
Olivér Falvai 2024-11-16 08:43:12 +01:00
parent c5472cf2b6
commit 6fe1904e43
No known key found for this signature in database

View File

@ -15,6 +15,7 @@
dbus,
fontconfig,
libsixel,
apple-sdk_11,
# build options
withStreaming ? true,
@ -74,6 +75,9 @@ rustPlatform.buildRustPackage rec {
dbus
fontconfig
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_11 # can be removed once x86_64-darwin defaults to a newer SDK
]
++ lib.optionals withSixel [ libsixel ]
++ lib.optionals (withAudioBackend == "alsa") [ alsa-lib ]
++ lib.optionals (withAudioBackend == "pulseaudio") [ libpulseaudio ]