cargo-feature: use new darwin sdk pattern

This commit is contained in:
Nick Cao
2024-12-03 14:19:37 -05:00
parent cf34f2300c
commit 7bc42ab29b
@@ -2,8 +2,6 @@
lib,
rustPlatform,
fetchFromGitHub,
stdenv,
libiconv,
}:
rustPlatform.buildRustPackage rec {
@@ -19,8 +17,6 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-8qrpW/gU7BvxN3nSbFWhbgu5bwsdzYZTS3w3kcwsGbU=";
buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
checkFlags = [
# The following tests require empty CARGO_BUILD_TARGET env variable, but we
# set it ever since https://github.com/NixOS/nixpkgs/pull/298108.