nixpkgs/pkgs/build-support/rust
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
..
build-rust-crate buildRustCrate: add libiconv to nativeBuildInputs on darwin 2023-03-08 14:39:25 -06:00
build-rust-package buildRustPackage: don't passthru cargoDeps 2023-03-02 10:20:15 +10:00
fetch-cargo-tarball cargo: move cert info to fetch-cargo-tarball 2023-02-01 06:53:43 +10:00
hooks rustPlatform.cargoSetupHook: improve cargoHash instructions 2023-02-14 16:14:08 -05:00
lib build-support/rust/lib: Add toTargetVendor 2023-02-15 20:37:45 -05:00
sysroot
test/import-cargo-lock rustPlatform.importCargoLock: add support for v1 lock files 2023-02-26 00:45:40 -05:00
default-crate-overrides.nix default-crate-overrides.nix: add graphene-sys 2023-01-13 16:43:39 +00:00
fetchcargo-default-config.toml
fetchcrate.nix fetchCrate: rewrite in terms of fetchzip 2022-11-03 12:33:27 -04:00
import-cargo-lock.nix rustPlatform.importCargoLock: passthru lockFile 2023-02-26 00:46:36 -05:00