1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00
nix/doc/manual/rl-next
DavHau fb5e22e318 build-cores: detect cores automatically if set to 0
This changes makes nix detect a machines available cores automatically whenever build-cores is set to 0.

So far, nix simply passed NIX_BUILD_CORES=0 whenever build-cores is set to 0. (only when build-cores is unset it was detecting cores automatically)

The behavior of passing NIX_BUILD_CORES=0 leads to a performance penalty when sourcing nixpkgs' generic builder's `setup.sh`, as setup.sh has to execute `nproc`. This significantly slows down sourcing of setup.sh
2025-07-07 10:33:42 +07:00
..
build-cores-auto-detect.md build-cores: detect cores automatically if set to 0 2025-07-07 10:33:42 +07:00
build-dir-mandatory.md libstore: Don't default build-dir to temp-dir, store setting 2025-06-22 16:49:44 +02:00
config Compile hand-written release notes with changelog-d 2023-11-24 15:13:21 +01:00
deprecate__json.md Deprecate hacky way of making structured attrs 2025-05-28 12:59:04 -04:00
eval-profiler.md doc: Add eval-profiler documentation and release note 2025-05-21 22:16:31 +00:00
json-logger.md Add json-log-path setting 2025-05-23 10:45:12 +02:00
nix-profile-add.md Add release note 2025-05-20 18:24:13 +02:00
outpath-and-sourceinfo-fixes.md Add release note for non-flake inputs having sourceInfo 2025-05-18 00:45:33 +01:00
revert-77.md Revert "If a substitute closure is incomplete, build dependencies, then retry the substituter" 2025-05-14 20:16:40 -04:00