guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: doc: Build manual translations with 'guile-3.0-latest'.


From: guix-commits
Subject: 01/03: doc: Build manual translations with 'guile-3.0-latest'.
Date: Fri, 9 Jul 2021 11:34:37 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 580a031e7d2e16e2be023e9229e42e765acdffcc
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jul 9 17:12:52 2021 +0200

    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'.
---
 doc/build.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/doc/build.scm b/doc/build.scm
index 72792b4..1d086b8 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]