about summary refs log tree commit diff
path: root/nix.conf.example
diff options
context:
space:
mode:
Diffstat (limited to 'nix.conf.example')
-rw-r--r--nix.conf.example12
1 files changed, 12 insertions, 0 deletions
diff --git a/nix.conf.example b/nix.conf.example
index e17cf3c25f60..6175d861491b 100644
--- a/nix.conf.example
+++ b/nix.conf.example
@@ -59,6 +59,18 @@
 #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 values `0', `auto', or
+# `guess' 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