summaryrefslogtreecommitdiff
path: root/guix/self.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-07-07 14:40:51 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-07-07 14:45:59 -0400
commitaf2d6ec092c98ac5f32d8e9e182a141e1268805b (patch)
tree3b2789b5b2d39f525bd84e555e443b9febb86e05 /guix/self.scm
parent02562e2f1e1b0fcc4ae17a54885f67b38fc1be46 (diff)
downloadguix-patches-af2d6ec092c98ac5f32d8e9e182a141e1268805b.tar
guix-patches-af2d6ec092c98ac5f32d8e9e182a141e1268805b.tar.gz
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.
Diffstat (limited to 'guix/self.scm')
-rw-r--r--guix/self.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix/self.scm b/guix/self.scm
index 87d00ea64f..2cfdc41200 100644
--- a/guix/self.scm
+++ b/guix/self.scm
@@ -410,7 +410,10 @@ a list of extra files, such as '(\"contributing\")."
;; 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 "."