guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

36/36: HACK Don't fail on running host's localedef.


From: guix-commits
Subject: 36/36: HACK Don't fail on running host's localedef.
Date: Fri, 1 May 2020 11:54:05 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit 3c8947ddd56793e8acae5089a0f98b1c879457b3
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
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 \"address@hidden-8\" into two values: the



reply via email to

[Prev in Thread] Current Thread [Next in Thread]