anchor: migrate to new apple sdk structure
This commit is contained in:
parent
d27020a7b1
commit
28329a0d5f
@ -2,8 +2,6 @@
|
|||||||
lib,
|
lib,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
stdenv,
|
|
||||||
darwin,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -18,9 +16,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoPatches = [
|
cargoPatches = [ ./0001-update-time-rs.patch ];
|
||||||
./0001-update-time-rs.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
@ -29,11 +25,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
darwin.apple_sdk.frameworks.Security
|
|
||||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
|
||||||
];
|
|
||||||
|
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
# the following test cases try to access network, skip them
|
# the following test cases try to access network, skip them
|
||||||
"--skip=tests::test_check_and_get_full_commit_when_full_commit"
|
"--skip=tests::test_check_and_get_full_commit_when_full_commit"
|
||||||
|
Loading…
Reference in New Issue
Block a user