Merge pull request #311352 from RaghavSood/buckle/fix-build

buckle: add darwin dependencies
This commit is contained in:
Weijia Wang
2024-05-13 23:04:22 +02:00
committed by GitHub

View File

@@ -1,4 +1,10 @@
{ lib, fetchFromGitHub, rustPlatform }:
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "buckle";
@@ -12,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"