mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 14:47:20 +01:00
self: Provide UTF-8 locales when building the manual.
Fixes <https://bugs.gnu.org/33580>. Reported by <znavko@tutanota.com>. * guix/self.scm (info-manual)[glibc-utf8-locales]: New variable. [build]: Add call to 'setenv' for "GUIX_LOCPATH".
This commit is contained in:
parent
8757209ec5
commit
2d33776050
1 changed files with 8 additions and 0 deletions
|
@ -273,6 +273,10 @@ (define graphviz
|
|||
(module-ref (resolve-interface '(gnu packages graphviz))
|
||||
'graphviz))
|
||||
|
||||
(define glibc-utf8-locales
|
||||
(module-ref (resolve-interface '(gnu packages base))
|
||||
'glibc-utf8-locales))
|
||||
|
||||
(define documentation
|
||||
(file-append* source "doc"))
|
||||
|
||||
|
@ -336,6 +340,10 @@ (define build
|
|||
(delete-file-recursively "images")
|
||||
(symlink (string-append #$output "/images") "images")
|
||||
|
||||
;; Provide UTF-8 locales needed by the 'xspara.c' code in makeinfo.
|
||||
(setenv "GUIX_LOCPATH"
|
||||
#+(file-append glibc-utf8-locales "/lib/locale"))
|
||||
|
||||
(for-each (lambda (texi)
|
||||
(unless (string=? "guix.texi" texi)
|
||||
;; Create 'version-LL.texi'.
|
||||
|
|
Loading…
Reference in a new issue