1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 23:12:44 +01:00
nix/src/libstore/unix
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 build-cores: detect cores automatically if set to 0 2025-07-07 10:33:42 +07:00
include/nix/store Fix #13293 2025-06-11 16:15:26 -04:00
meson.build Get rid of LocalDerivationGoal 2025-04-20 18:09:41 -04:00
pathlocks.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
user-lock.cc Prepare for FreeBSD sandboxing support 2025-05-27 14:54:50 -04:00