nixpkgs/pkgs/build-support/rust/build-rust-crate
cidkidnix 856936abc8 buildRustCrate: add libiconv to nativeBuildInputs on darwin
Fixes linker errors while building build.rs where it tries to link libiconv but cannot find it.

Rust executable build for Darwin need libiconv, and indeed buildInputs already has this case handled.
So why is another change needed? Suppose we are cross compiling from Darwin (the build platform) to something else, and the package has a build.rs build script.
The build script is built for the build platform (Darwin) and is also a regular Rust executable, needing libiconv, but due to cross compilation (and strict deps) we need an extra nativeBuildInput.
2023-03-08 14:39:25 -06:00
..
test treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform 2023-01-09 21:13:22 +02:00
build-crate.nix buildRustCrate: Do not compile binaries if all the requiredFeatures aren't enabled. 2022-08-23 13:09:33 +02:00
configure-crate.nix build-rust-crate: handle ILP32 platforms correctly 2023-01-23 12:10:58 -08:00
default.nix buildRustCrate: add libiconv to nativeBuildInputs on darwin 2023-03-08 14:39:25 -06:00
helpers.nix
install-crate.nix
lib.sh buildRustCrate: fixup integration test mod name 2023-01-14 14:18:09 -05:00
log.nix buildRustCrate: editorconfig fixes 2020-08-09 17:47:12 +10:00