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
crates-io.nix
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
fetchcrate.nix fetchCrate: accept pname besides crateName 2020-08-28 08:34:22 +02:00