Unverified Commit 8956e27e authored by Florian Klink's avatar Florian Klink Committed by GitHub
Browse files

defaultCrateOverrides: remove obsolete darwin frameworks (#374416)

parents c80e750b 514d4725
Loading
Loading
Loading
Loading
+1 −14
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@
, clang
, cmake
, curl
, darwin
, dbus
, dbus-glib
, fontconfig
@@ -47,9 +46,6 @@
, ...
}:

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

  cargo = attrs: {
    buildInputs = [ openssl zlib curl ]
      ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation Security ];
    buildInputs = [ openssl zlib curl ];
  };

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

  security-framework-sys = attr: {
    propagatedBuildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
  };

  sequoia-openpgp = attrs: {
    buildInputs = [ gmp ];
  };
@@ -319,10 +310,6 @@ in
    buildInputs = [ sqlite gmp ];
  };

  serde_derive = attrs: {
    buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
  };

  servo-fontconfig-sys = attrs: {
    nativeBuildInputs = [ pkg-config ];
    buildInputs = [ freetype fontconfig ];