mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
* New configuration setting `build-max-jobs' which sets the default
for the `-j' flag (i.e., the maximum number of jobs to execute in parallel). Useful on multi-processor machines.
This commit is contained in:
parent
3e239a37ff
commit
d19b6521fc
2 changed files with 17 additions and 0 deletions
|
@ -68,6 +68,16 @@
|
|||
#env-keep-derivations = false
|
||||
|
||||
|
||||
### Option `build-max-jobs'
|
||||
#
|
||||
# This option defines the maximum number of jobs that Nix will try to
|
||||
# build in parallel. The default is 1. You should generally set it
|
||||
# to the number of CPUs in your system (e.g., 2 on a Athlon 64 X2).
|
||||
# It can be overriden using the `--max-jobs' / `-j' command line
|
||||
# switch.
|
||||
#build-max-jobs = 1
|
||||
|
||||
|
||||
### Option `build-allow-root'
|
||||
#
|
||||
# This option controls Nix's behaviour when it is invoked under the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue