diff --git a/guix/gexp.scm b/guix/gexp.scm index e985e6b4224..933d1969ca9 100644 --- a/guix/gexp.scm +++ b/guix/gexp.scm @@ -1715,6 +1715,9 @@ TARGET, a GNU triplet." (system base target) (system base compile)) + ;; Best effort. The locale is not installed when cross-compiling. + (false-if-exception (setlocale LC_CTYPE "C.UTF-8")) + (define modules (getenv "modules"))