cargo-feature: use new darwin sdk pattern

This commit is contained in:
Nick Cao 2024-11-22 17:23:37 -05:00
parent cf34f2300c
commit 7bc42ab29b
No known key found for this signature in database

View File

@ -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.