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".master
parent
8757209ec5
commit
2d33776050
|
@ -273,6 +273,10 @@ DOMAIN, a gettext domain."
|
|||
(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 @@ DOMAIN, a gettext domain."
|
|||
(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'.
|
||||
|
|
Reference in New Issue