From 560fd9906112c7e2022c9ffe048f6840efd9c684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 15 Jan 2022 12:15:45 +0100 Subject: [PATCH] doc: Remove now unnecessary workaround. * doc/build.scm (translated-texi-manuals): Turn into an alias for (@@ (guix self) translated-texi-manuals). --- doc/build.scm | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/doc/build.scm b/doc/build.scm index eebb493a2e..9860675841 100644 --- a/doc/build.scm +++ b/doc/build.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2019-2022 Ludovic Courtès ;;; Copyright © 2020 Björn Höfling ;;; ;;; This file is part of GNU Guix. @@ -51,17 +51,7 @@ (define file-append* (@@ (guix self) file-append*)) (define translated-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) - #:local-build? #f - #:options (computed-file-options result) - #:guile guile-3.0-latest))))) + (@@ (guix self) translate-texi-manuals)) (define info-manual (@@ (guix self) info-manual))