nixpkgs/pkgs/build-support/rust/build-rust-crate
Daniël de Kok ea6e048c37 buildRustCrate: only link build deps into build script
According to the Cargo documentation:

> The build script does not have access to the dependencies listed in
> the dependencies or dev-dependencies section (they’re not built
> yet!). Also, build dependencies are not available to the package
> itself unless also explicitly added in the [dependencies] table.

https://doc.rust-lang.org/cargo/reference/build-scripts.html

This change separates linkage of regular dependencies and build
dependencies.
2020-03-13 11:13:27 +01:00
..
test buildRustCrate: only link build deps into build script 2020-03-13 11:13:27 +01:00
build-crate.nix buildRustCrate: refactor colored logging 2020-03-09 14:26:28 +01:00
configure-crate.nix buildRustCrate: only link build deps into build script 2020-03-13 11:13:27 +01:00
default.nix build-support/rust/buildRustCrate: Search for matching Cargo.toml in sub directories 2020-03-09 15:11:50 +01:00
helpers.nix buildRustCrate: fixup usage of builtins.filterSource 2020-01-07 00:49:48 +01:00
install-crate.nix buildRustCrate: add buildTests flag to tell rustc to build tests instead of binaries 2020-01-07 11:57:34 +01:00
lib.sh buildRustCrate: only link build deps into build script 2020-03-13 11:13:27 +01:00
log.nix buildRustCrate: refactor colored logging 2020-03-09 14:26:28 +01:00