guix_mirror_bot pushed a commit to branch core-packages-team in repository guix.
commit f68effe5e58520217a21beb333b874f4bf0dbeef Author: Tomas Volf <~@wolfsden.cz> AuthorDate: Thu Jan 23 23:57:07 2025 +0100 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 <jann...@gnu.org> --- guix/gexp.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guix/gexp.scm b/guix/gexp.scm index 8b3b3f3832..1f3737acea 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"))