nixpkgs/pkgs/build-support/rust
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
..
build-rust-crate buildRustCrate: make codegen-units configurable 2022-05-01 11:48:32 -04:00
build-rust-package Merge pull request #145107 from Ericson2314/buildRustCrate-sysroot 2021-11-24 18:44:13 -05:00
fetch-cargo-tarball build-support/rust: Organize 2021-11-07 14:16:49 -05:00
hooks rustPlatform.bindgenHook: init 2022-02-22 19:37:07 +01:00
lib build-support/rust: Organize 2021-11-07 14:16:49 -05:00
sysroot build-support/rust/sysroot/src: Use dont* instead of phase list 2021-11-08 21:38:58 +00:00
test/import-cargo-lock rust/import-cargo-lock: hopefully make nested crate test work on macos 2021-10-25 01:11:45 +02:00
carnix.nix
crates-io.nix
default-crate-overrides.nix default-crate-overrides: only add Security to propagatedBuildInputs on darwin for security-framework-sys 2022-04-28 21:24:46 +03:00
fetchcargo-default-config.toml
fetchcrate.nix fetchCrate: accept pname besides crateName 2020-08-28 08:34:22 +02:00
import-cargo-lock.nix rust: fix importCargoLock for repositories without toplevel Cargo.toml 2022-03-17 00:15:56 -04:00