system: Selected locale is automatically built.
authorLudovic Courtès <ludo@gnu.org>
Wed, 10 Feb 2016 10:01:54 +0000 (11:01 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 10 Feb 2016 14:15:17 +0000 (15:15 +0100)
commitf5582b2c1d7cb73f36d5278bec99d7279f813a39
tree1af4e61e8aa258338e4eeb9e0b5d4c78fe3a7a8f
parent32e16112064ae3f7bad729802834c965b270bbc0
system: Selected locale is automatically built.

Fixes <http://bugs.gnu.org/22572>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/system/locale.scm (%not-dot): New variable.
(denormalize-codeset, locale-name->definition): New procedures.
* gnu/system.scm (locale-name->definition*): New procedure.
(operating-system-locale-directory): Instead of raising an error, add
the missing locale.
* doc/guix.texi (Locales): Adjust accordingly.
doc/guix.texi
gnu/system.scm
gnu/system/locale.scm