Merge pull request #144925 from figsoda/fix-synth

synth: fix darwin build
This commit is contained in:
figsoda 2021-11-06 17:31:36 -04:00 committed by GitHub
commit 1a9f8594c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View file

@ -4,9 +4,8 @@
, pkg-config
, openssl
, stdenv
, CoreFoundation
, AppKit
, Security
, SystemConfiguration
}:
rustPlatform.buildRustPackage rec {
@ -25,9 +24,8 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
CoreFoundation
AppKit
Security
SystemConfiguration
];
# requires unstable rust features

View file

@ -3544,7 +3544,7 @@ with pkgs;
sydbox = callPackage ../os-specific/linux/sydbox { };
synth = callPackage ../tools/misc/synth {
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration;
inherit (darwin.apple_sdk.frameworks) AppKit Security;
};
syscall_limiter = callPackage ../os-specific/linux/syscall_limiter {};