summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-07-09 17:12:52 +0200
committerLudovic Courtès <ludo@gnu.org>2021-07-09 17:33:46 +0200
commit580a031e7d2e16e2be023e9229e42e765acdffcc (patch)
tree9a2a52228c7d1650eb2c1f910d2cbd6d4c60497e /doc
parent4236b8586d9a644d6521c8303863125439aabce8 (diff)
downloadguix-580a031e7d2e16e2be023e9229e42e765acdffcc.tar.gz
doc: Build manual translations with 'guile-3.0-latest'.
Fixes <https://bugs.gnu.org/47428>.
Reported by Leo Famulari <leo@famulari.name>.

* doc/build.scm (translated-texi-manuals): Explicitly use 'guile-3.0-latest'.
Diffstat (limited to 'doc')
-rw-r--r--doc/build.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/build.scm b/doc/build.scm
index 72792b42d2..1d086b83ac 100644
--- a/doc/build.scm
+++ b/doc/build.scm
@@ -51,7 +51,16 @@
   (@@ (guix self) file-append*))
 
 (define translated-texi-manuals
-  (@@ (guix self) translate-texi-manuals))
+  (let ((translated (@@ (guix self) translate-texi-manuals)))
+    (lambda (source)
+      (let ((result (translated source)))
+        ;; Build with 'guile-3.0-latest', which is linked against
+        ;; 'libgc/disable-munmap', to avoid the dreaded "mmap(PROT_NONE)
+        ;; failed" crash: <https://bugs.gnu.org/47428>.
+        (computed-file (computed-file-name result)
+                       (computed-file-gexp result)
+                       #:options (computed-file-options result)
+                       #:guile guile-3.0-latest)))))
 
 (define info-manual
   (@@ (guix self) info-manual))