mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
doc: Allow offloading of the expensive derivations.
* doc/build.scm (translated-texi-manuals) (html-manual, pdf-manual): Pass #:local-build? #f.
This commit is contained in:
parent
219cf5093e
commit
45b251fd04
1 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; 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>
|
;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
|
@ -59,6 +59,7 @@ (define translated-texi-manuals
|
||||||
;; failed" crash: <https://bugs.gnu.org/47428>.
|
;; failed" crash: <https://bugs.gnu.org/47428>.
|
||||||
(computed-file (computed-file-name result)
|
(computed-file (computed-file-name result)
|
||||||
(computed-file-gexp result)
|
(computed-file-gexp result)
|
||||||
|
#:local-build? #f
|
||||||
#:options (computed-file-options result)
|
#:options (computed-file-options result)
|
||||||
#:guile guile-3.0-latest)))))
|
#:guile guile-3.0-latest)))))
|
||||||
|
|
||||||
|
@ -699,7 +700,7 @@ (define (language->texi-file-name language)
|
||||||
'#$languages)))))
|
'#$languages)))))
|
||||||
|
|
||||||
(let* ((name (string-append manual "-html-manual"))
|
(let* ((name (string-append manual "-html-manual"))
|
||||||
(manual (computed-file name build)))
|
(manual (computed-file name build #:local-build? #f)))
|
||||||
(syntax-highlighted-html manual
|
(syntax-highlighted-html manual
|
||||||
#:mono-node-indexes mono-node-indexes
|
#:mono-node-indexes mono-node-indexes
|
||||||
#:split-node-indexes split-node-indexes
|
#:split-node-indexes split-node-indexes
|
||||||
|
@ -803,7 +804,8 @@ (define (normalize language) ;XXX: deduplicate
|
||||||
opts))))
|
opts))))
|
||||||
'#$languages))))
|
'#$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)
|
(define (guix-manual-text-domain source languages)
|
||||||
"Return the PO files for LANGUAGES of the 'guix-manual' text domain taken
|
"Return the PO files for LANGUAGES of the 'guix-manual' text domain taken
|
||||||
|
|
Loading…
Reference in a new issue