build-system/gnu: Set $LC_ALL (or similar) to the chosen locale.
authorLudovic Courtès <ludo@gnu.org>
Fri, 27 Feb 2015 13:54:00 +0000 (14:54 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 27 Feb 2015 14:08:37 +0000 (15:08 +0100)
commit251e8b2ee8a9cb89ce662b9c47d9dcd76dec618b
treece1c10d833c1b5817a85e38681d44047a6854d8e
parent7184b4b1bd839cd4fd0c9630c050c7854174057d
build-system/gnu: Set $LC_ALL (or similar) to the chosen locale.

Suggested by Mark H Weaver.

* guix/build/utils.scm (locale-category->string): New procedure.
* guix/build/gnu-build-system.scm (install-locale): Add 'setenv' call.
guix/build/gnu-build-system.scm
guix/build/utils.scm