mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
856936abc8
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. |
||
---|---|---|
.. | ||
build-rust-crate | ||
build-rust-package | ||
fetch-cargo-tarball | ||
hooks | ||
lib | ||
sysroot | ||
test/import-cargo-lock | ||
default-crate-overrides.nix | ||
fetchcargo-default-config.toml | ||
fetchcrate.nix | ||
import-cargo-lock.nix |