diff options
Diffstat (limited to 'nix.conf.example')
-rw-r--r-- | nix.conf.example | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nix.conf.example b/nix.conf.example index e17cf3c25f60..7063bed54c4d 100644 --- a/nix.conf.example +++ b/nix.conf.example @@ -59,6 +59,17 @@ #build-max-jobs = 1 +### Option `build-cores' +# +# This option defines the number of CPU cores to utilize in parallel +# within a build job, i.e. by passing an appropriate `-jN' flag to GNU +# make. The default is 1, meaning that parallel building within jobs +# is disabled. Passing the special value `0' causes Nix to try and +# auto-detect the number of available cores on the local host. This +# setting can be overridden using the `--cores' command line switch. +#build-cores = 1 + + ### Option `build-max-silent-time' # # This option defines the maximum number of seconds that a builder can |