guix-commits
[Top][All Lists]
Advanced

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

02/11: doc: Allow offloading of the expensive derivations.


From: guix-commits
Subject: 02/11: doc: Allow offloading of the expensive derivations.
Date: Thu, 28 Oct 2021 15:43:13 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 45b251fd045fe47dd65d42a269508ee50f26565d
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Oct 28 18:13:53 2021 +0200

    doc: Allow offloading of the expensive derivations.
    
    * doc/build.scm (translated-texi-manuals)
    (html-manual, pdf-manual): Pass #:local-build? #f.
---
 doc/build.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/doc/build.scm b/doc/build.scm
index 1d086b8..a9e2791 100644
--- a/doc/build.scm
+++ b/doc/build.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -59,6 +59,7 @@
         ;; failed" crash: <https://bugs.gnu.org/47428>.
         (computed-file (computed-file-name result)
                        (computed-file-gexp result)
+                       #:local-build? #f
                        #:options (computed-file-options result)
                        #:guile guile-3.0-latest)))))
 
@@ -699,7 +700,7 @@ makeinfo OPTIONS."
                             '#$languages)))))
 
   (let* ((name   (string-append manual "-html-manual"))
-         (manual (computed-file name build)))
+         (manual (computed-file name build #:local-build? #f)))
     (syntax-highlighted-html manual
                              #:mono-node-indexes mono-node-indexes
                              #:split-node-indexes split-node-indexes
@@ -803,7 +804,8 @@ PDF for language '~a'!~%~%"
                                 opts))))
                     '#$languages))))
 
-  (computed-file (string-append manual "-pdf-manual") build))
+  (computed-file (string-append manual "-pdf-manual") build
+                 #:local-build? #f))
 
 (define (guix-manual-text-domain source languages)
   "Return the PO files for LANGUAGES of the 'guix-manual' text domain taken



reply via email to

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