nixpkgs/pkgs/build-support/rust/build-rust-crate
Mateusz Kowalczyk f6897d23f4 buildRustCrate: make codegen-units configurable
This parameter is being set to `$NIX_BUILD_CORES` by default. This is a
standard practice but there's a suspicion that this can produce broken
builds. For some details see
https://github.com/cargo2nix/cargo2nix/issues/184 . As a
work-around/test, it'd be good if codegen-units can be set to something
constant, such as `1`. This PR allows it.

Note that the default of `$NIX_BUILD_CORES` is preserved so this MR
causes no change in default behaviour and no rebuilds.
2022-05-01 11:48:32 -04:00
..
test Remove myself from maintainers 2022-01-20 00:24:52 +01:00
build-crate.nix buildRustCrate: make codegen-units configurable 2022-05-01 11:48:32 -04:00
configure-crate.nix buildRustCrate: make codegen-units configurable 2022-05-01 11:48:32 -04:00
default.nix buildRustCrate: make codegen-units configurable 2022-05-01 11:48:32 -04:00
helpers.nix buildRustCrate: fixup usage of builtins.filterSource 2020-01-07 00:49:48 +01:00
install-crate.nix buildRustCrate: Add tests for checking files in outputs. 2020-03-29 13:00:21 +02:00
lib.sh buildRustCrate: editorconfig fixes 2020-08-09 17:47:12 +10:00
log.nix buildRustCrate: editorconfig fixes 2020-08-09 17:47:12 +10:00