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 @@ containing the source code. Write any debugging output to DEBUG-PORT."
;; 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)