mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-28 19:56:59 -06:00
gexp: Attempt to set LC_CTYPE in compiled-modules.
This allows compiling modules with unicode in their names. * guix/gexp.scm (compiled-modules): Attempt to set LC_CTYPE to C.UTF-8. Change-Id: Ie92a57fe1c3b45d1c7a5e8865fcf291c5f590c11 Signed-off-by: Janneke Nieuwenhuizen <janneke@gnu.org>
This commit is contained in:
parent
843568cabe
commit
423be27d96
1 changed files with 3 additions and 0 deletions
|
|
@ -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"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue