spotify-player: clean up old darwin SDK pattern

This commit is contained in:
Olivér Falvai 2024-11-14 08:37:24 +01:00
parent 4de26d0760
commit c5472cf2b6
No known key found for this signature in database

View File

@ -27,7 +27,6 @@
withSixel ? true,
withFuzzy ? true,
stdenv,
darwin,
makeBinaryWrapper,
# passthru
@ -91,18 +90,7 @@ rustPlatform.buildRustPackage rec {
gst_all_1.gst-devtools
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
]
++ lib.optionals (stdenv.hostPlatform.isDarwin && withMediaControl) [
darwin.apple_sdk.frameworks.MediaPlayer
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
AppKit
AudioUnit
Cocoa
]
);
];
buildNoDefaultFeatures = true;