forked from mirrors/nixpkgs
synth: fix darwin build
This commit is contained in:
parent
933da575d4
commit
a8d1f24ac2
|
@ -4,9 +4,8 @@
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, openssl
|
, openssl
|
||||||
, stdenv
|
, stdenv
|
||||||
, CoreFoundation
|
, AppKit
|
||||||
, Security
|
, Security
|
||||||
, SystemConfiguration
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
|
@ -25,9 +24,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
|
||||||
CoreFoundation
|
AppKit
|
||||||
Security
|
Security
|
||||||
SystemConfiguration
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# requires unstable rust features
|
# requires unstable rust features
|
||||||
|
|
|
@ -3544,7 +3544,7 @@ with pkgs;
|
||||||
sydbox = callPackage ../os-specific/linux/sydbox { };
|
sydbox = callPackage ../os-specific/linux/sydbox { };
|
||||||
|
|
||||||
synth = callPackage ../tools/misc/synth {
|
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 {};
|
syscall_limiter = callPackage ../os-specific/linux/syscall_limiter {};
|
||||||
|
|
Loading…
Reference in a new issue