mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
spotify-player: fix x86_64-darwin
(cherry picked from commit 6fe1904e43
)
This commit is contained in:
parent
ed9b773ef3
commit
46e0741208
@ -15,6 +15,7 @@
|
|||||||
dbus,
|
dbus,
|
||||||
fontconfig,
|
fontconfig,
|
||||||
libsixel,
|
libsixel,
|
||||||
|
apple-sdk_11,
|
||||||
|
|
||||||
# build options
|
# build options
|
||||||
withStreaming ? true,
|
withStreaming ? true,
|
||||||
@ -74,6 +75,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
dbus
|
dbus
|
||||||
fontconfig
|
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 withSixel [ libsixel ]
|
||||||
++ lib.optionals (withAudioBackend == "alsa") [ alsa-lib ]
|
++ lib.optionals (withAudioBackend == "alsa") [ alsa-lib ]
|
||||||
++ lib.optionals (withAudioBackend == "pulseaudio") [ libpulseaudio ]
|
++ lib.optionals (withAudioBackend == "pulseaudio") [ libpulseaudio ]
|
||||||
|
Loading…
Reference in New Issue
Block a user