mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
cargo-feature: use new darwin sdk pattern
This commit is contained in:
parent
cf34f2300c
commit
7bc42ab29b
@ -2,8 +2,6 @@
|
|||||||
lib,
|
lib,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
stdenv,
|
|
||||||
libiconv,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -19,8 +17,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoHash = "sha256-8qrpW/gU7BvxN3nSbFWhbgu5bwsdzYZTS3w3kcwsGbU=";
|
cargoHash = "sha256-8qrpW/gU7BvxN3nSbFWhbgu5bwsdzYZTS3w3kcwsGbU=";
|
||||||
|
|
||||||
buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
|
|
||||||
|
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
# The following tests require empty CARGO_BUILD_TARGET env variable, but we
|
# The following tests require empty CARGO_BUILD_TARGET env variable, but we
|
||||||
# set it ever since https://github.com/NixOS/nixpkgs/pull/298108.
|
# set it ever since https://github.com/NixOS/nixpkgs/pull/298108.
|
||||||
|
Loading…
Reference in New Issue
Block a user