Skip to content

Commit 2bf0209

Browse files
authored
screen-pipe: Remove remaining darwin.apple_sdk_12_3 use (#399032)
2 parents e02fa55 + 06e8851 commit 2bf0209

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

pkgs/by-name/sc/screen-pipe/package.nix

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
openssl,
1010
sqlite,
1111
stdenv,
12-
darwin,
1312
alsa-lib,
1413
xorg,
14+
apple-sdk_12,
1515
}:
1616
rustPlatform.buildRustPackage rec {
1717
pname = "screen-pipe";
@@ -49,22 +49,9 @@ rustPlatform.buildRustPackage rec {
4949
openssl
5050
sqlite
5151
]
52-
++ lib.optionals stdenv.hostPlatform.isDarwin (
53-
with darwin.apple_sdk_12_3.frameworks;
54-
[
55-
CoreAudio
56-
AudioUnit
57-
CoreFoundation
58-
CoreGraphics
59-
CoreMedia
60-
IOKit
61-
Metal
62-
MetalPerformanceShaders
63-
Security
64-
ScreenCaptureKit
65-
SystemConfiguration
66-
]
67-
)
52+
++ lib.optionals stdenv.hostPlatform.isDarwin [
53+
apple-sdk_12
54+
]
6855
++ lib.optionals stdenv.hostPlatform.isLinux [
6956
alsa-lib
7057
xorg.libxcb

0 commit comments

Comments
 (0)