buckle: add darwin dependencies

This commit is contained in:
Raghav Sood 2024-05-14 00:13:06 +08:00
parent c2feca2782
commit 4a3e69530c
No known key found for this signature in database
GPG Key ID: 13D53E9EB65DE19C

View File

@ -1,7 +1,9 @@
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
darwin,
}:
rustPlatform.buildRustPackage rec {
@ -16,6 +18,11 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-eWhcDzw+6I5N0dse5avwhcQ/y6YZ6b3QKyBwWBrA/xo=";
};
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
checkFlags = [
# Both tests access the network.
"--skip=test_buck2_latest"