janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 3c8947ddd56793e8acae5089a0f98b1c879457b3
Author: Jan (janneke) Nieuwenhuizen <[email protected]>
AuthorDate: Thu Apr 30 21:47:24 2020 +0200
HACK Don't fail on running host's localedef.
---
gnu/build/locale.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/build/locale.scm b/gnu/build/locale.scm
index 412759a..c706129 100644
--- a/gnu/build/locale.scm
+++ b/gnu/build/locale.scm
@@ -82,9 +82,10 @@ discarded."
"Compute locale data for LOCALE and CODESET--e.g., \"en_US\" and
\"UTF-8\"--with LOCALEDEF, and store it in DIRECTORY under NAME."
(format #t "building locale '~a'...~%" name)
- (invoke localedef "--no-archive" "--prefix" directory
- "-i" locale "-f" codeset
- (string-append directory "/" name)))
+ ;; XXX The host localedef won't run...
+ (system* localedef "--no-archive" "--prefix" directory
+ "-i" locale "-f" codeset
+ (string-append directory "/" name)))
(define (locale->name+codeset locale)
"Split a locale name such as \"[email protected]\" into two values: the