aboutsummaryrefslogtreecommitdiff
path: root/build-aux/cuirass
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/cuirass')
-rw-r--r--build-aux/cuirass/evaluate.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/cuirass/evaluate.scm b/build-aux/cuirass/evaluate.scm
index 5beac1b37c..7ae5c266d1 100644
--- a/build-aux/cuirass/evaluate.scm
+++ b/build-aux/cuirass/evaluate.scm
@@ -85,7 +85,8 @@
(open-inferior (derivation->output-path derivation)))
%cuirass-supported-systems)))
(n-par-for-each
- (/ (current-processor-count) 2)
+ (min (length %cuirass-supported-systems)
+ (current-processor-count))
(lambda (system inferior)
(with-store store
(let ((channels (map channel-instance->sexp instances)))