pull: Honor 'parallel-job-count'.

* guix/build/pull.scm (build-guix): Use 'n-par-for-each' and honor
'parallel-job-count'.
This commit is contained in:
Ludovic Courtès 2017-10-07 16:34:59 +02:00
parent 1f3ea89871
commit aba219af0f
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -178,7 +178,8 @@ (define* (build-guix out source
;; Make sure compilation related modules are loaded before starting to
;; compile files in parallel.
(compile #f)
(par-for-each
(n-par-for-each
(parallel-job-count)
(lambda (file)
(with-mutex mutex
(display #\cr log-port)