From 580a031e7d2e16e2be023e9229e42e765acdffcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 9 Jul 2021 17:12:52 +0200 Subject: doc: Build manual translations with 'guile-3.0-latest'. Fixes . Reported by Leo Famulari . * doc/build.scm (translated-texi-manuals): Explicitly use 'guile-3.0-latest'. --- doc/build.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc/build.scm') 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: . + (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)) -- cgit v1.2.3