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'.
This commit is contained in:
Ludovic Courtès 2021-07-09 17:12:52 +02:00
parent 4236b8586d
commit 580a031e7d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -51,7 +51,16 @@ (define file-append*
(@@ (guix self) file-append*)) (@@ (guix self) file-append*))
(define translated-texi-manuals (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 (define info-manual
(@@ (guix self) info-manual)) (@@ (guix self) info-manual))