Skip to content

Commit 06e8851

Browse files
committed
screen-pipe: Remove remaining darwin.apple_sdk_12_3 use
This is the last use in the tree. (Almost.) Note: gst_all_1.* use is not updated because it was already fixed in staging branch: NixOS#398010 Note2: the package is broken for a long time, so the change cannot be confirmed to not break it even further. 🤷 Signed-off-by: Ihar Hrachyshka <[email protected]>
1 parent f581f84 commit 06e8851

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)