nixpkgs/pkgs/build-support/rust
Daniël de Kok e87d457564 buildRustCrate: set NUM_JOBS to NIX_BUILD_CORES
Bofore this change, NUM_JOBS was set to 1. Some crates for building
C/C++ code (e.g. the cc and cmake crates), rely on this variable to
set the number of jobs. As a consequence, we were compiling embedded
libraries serially. Change this to NIX_BUILD_CORES to permit parallel
builds.

Prior discussion:

https://github.com/NixOS/nixpkgs/pull/50452#issuecomment-439407547
2020-12-03 12:44:12 +01:00
..
build-rust-crate buildRustCrate: set NUM_JOBS to NIX_BUILD_CORES 2020-12-03 12:44:12 +01:00
patch-registry-deps
sysroot add sysroot lockfile update script then run it 2020-10-17 01:34:51 -07:00
cargo-vendor-normalise.py
carnix.nix Carnix: 0.9 -> 0.10 2019-03-26 18:54:28 +00:00
crates-io.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
default-crate-overrides.nix defaultCrateOverrides: move pkgconfig to nativeBuildInputs 2020-09-28 19:47:52 -04:00
default.nix NEEDS REVIEW: enable sysroot differently 2020-10-17 00:48:38 -07:00
fetchcargo-default-config.toml
fetchCargoTarball.nix fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir 2020-02-10 10:17:29 -05:00
fetchcrate.nix fetchCrate: accept pname besides crateName 2020-08-28 08:34:22 +02:00