From 28329a0d5f17d794b7e370b1f5eee52e2ae9b5db Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 6 Nov 2024 13:41:03 -0800 Subject: [PATCH] anchor: migrate to new apple sdk structure --- pkgs/by-name/an/anchor/package.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/pkgs/by-name/an/anchor/package.nix b/pkgs/by-name/an/anchor/package.nix index c2abce641531..1acd8246a1d8 100644 --- a/pkgs/by-name/an/anchor/package.nix +++ b/pkgs/by-name/an/anchor/package.nix @@ -2,8 +2,6 @@ lib, rustPlatform, fetchFromGitHub, - stdenv, - darwin, }: rustPlatform.buildRustPackage rec { @@ -18,9 +16,7 @@ rustPlatform.buildRustPackage rec { fetchSubmodules = true; }; - cargoPatches = [ - ./0001-update-time-rs.patch - ]; + cargoPatches = [ ./0001-update-time-rs.patch ]; cargoLock = { 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 = [ # the following test cases try to access network, skip them "--skip=tests::test_check_and_get_full_commit_when_full_commit"