reindeer: use new darwin sdk pattern

This commit is contained in:
Nick Cao
2024-12-03 14:18:35 -05:00
parent 14aee1533f
commit 9ef707ba95
+2 -9
View File
@@ -3,9 +3,6 @@
, fetchFromGitHub
, pkg-config
, openssl
, stdenv
, libiconv
, darwin
, nix-update-script
}:
@@ -23,12 +20,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-OjA0OKotAdRLGRkl8n3Gn2+Z8JVcGjQYHtOszWnnFdM=";
nativeBuildInputs = [ pkg-config ];
buildInputs =
[ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.CoreServices
];
buildInputs = [ openssl ];
passthru.updateScript = nix-update-script { };