From 46e0741208d3322505f54d70ae2d720494804833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliv=C3=A9r=20Falvai?= Date: Sat, 16 Nov 2024 08:43:12 +0100 Subject: [PATCH] spotify-player: fix x86_64-darwin (cherry picked from commit 6fe1904e43a0bd3fbb5c5e4b7c231dc8654b37b5) --- pkgs/by-name/sp/spotify-player/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/sp/spotify-player/package.nix b/pkgs/by-name/sp/spotify-player/package.nix index 782a69865408..55776515e809 100644 --- a/pkgs/by-name/sp/spotify-player/package.nix +++ b/pkgs/by-name/sp/spotify-player/package.nix @@ -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 ]