aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix/self.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/guix/self.scm b/guix/self.scm
index 96fef44e78..efbf9ec9ac 100644
--- a/guix/self.scm
+++ b/guix/self.scm
@@ -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'.