doc: Build manual translations with 'guile-3.0-latest'.
authorLudovic Courtès <ludo@gnu.org>
Fri, 9 Jul 2021 15:12:52 +0000 (17:12 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 9 Jul 2021 15:33:46 +0000 (17:33 +0200)
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'.

doc/build.scm

index 72792b4..1d086b8 100644 (file)
   (@@ (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))