self: Build translated manuals with a single process.

Works around <https://issues.guix.gnu.org/47428>.

* guix/self.scm (translate-texi-manuals): Set parallel-job-count to 1.
This commit is contained in:
Maxim Cournoyer 2021-07-07 14:40:51 -04:00
parent 02562e2f1e
commit af2d6ec092
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -410,7 +410,10 @@ (define parallel-jobs
;; Limit thread creation by 'n-par-for-each'. Going beyond can
;; lead libgc 8.0.4 to abort with:
;; mmap(PROT_NONE) failed
(min (parallel-job-count) 4))
;;
;; FIXME: The above error would still happen when using only 4
;; build jobs, so disable parallelism entirely for the time being.
(min (parallel-job-count) 1))
(mkdir #$output)
(copy-recursively #$documentation "."