Merge pull request #311352 from RaghavSood/buckle/fix-build
buckle: add darwin dependencies
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user