Skip to content

Commit 514d472

Browse files
committed
defaultCrateOverrides: remove obsolete darwin frameworks
1 parent 0b0ebca commit 514d472

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

pkgs/build-support/rust/default-crate-overrides.nix

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
, clang
1010
, cmake
1111
, curl
12-
, darwin
1312
, dbus
1413
, dbus-glib
1514
, fontconfig
@@ -47,9 +46,6 @@
4746
, ...
4847
}:
4948

50-
let
51-
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
52-
in
5349
{
5450
alsa-sys = attrs: {
5551
nativeBuildInputs = [ pkg-config ];
@@ -71,8 +67,7 @@ in
7167
};
7268

7369
cargo = attrs: {
74-
buildInputs = [ openssl zlib curl ]
75-
++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation Security ];
70+
buildInputs = [ openssl zlib curl ];
7671
};
7772

7873
libz-sys = attrs: {
@@ -280,10 +275,6 @@ in
280275
crateBin = [{ name = "rink"; path = "src/bin/rink.rs"; }];
281276
};
282277

283-
security-framework-sys = attr: {
284-
propagatedBuildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
285-
};
286-
287278
sequoia-openpgp = attrs: {
288279
buildInputs = [ gmp ];
289280
};
@@ -319,10 +310,6 @@ in
319310
buildInputs = [ sqlite gmp ];
320311
};
321312

322-
serde_derive = attrs: {
323-
buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
324-
};
325-
326313
servo-fontconfig-sys = attrs: {
327314
nativeBuildInputs = [ pkg-config ];
328315
buildInputs = [ freetype fontconfig ];

0 commit comments

Comments
 (0)