unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Locales
@ 2014-11-27  8:04 Ludovic Courtès
  0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2014-11-27  8:04 UTC (permalink / raw)
  To: Guix-devel

Hello,

In current ‘master’, libc builds all the available locales and carries
them with itself (~110 MiB.)

In ‘core-updates’ commit 97e1120, I changed libc to build and install
zero locales.  Instead, locale definitions that users may want must be
specified in the ‘operating-system’ declaration, in a new
‘locale-definitions’ field (see commit 598e19d in ‘master’.)  Locale
data is then available in /run/current-system/locale (and people can
also use $LOCPATH if needed.)

I’ve already noticed that gawk had test failures in the absence of UTF-8
locales, so commit e9bab1d works around it by explicitly invoking
‘localedef’.  Hopefully such problems will be quite rare and can be
worked around similarly, on a case by case basis.  If it turns out to be
not-so-rare, we can add a helper package that contains locale data, or a
helper procedure somewhere.

Comments welcome!

Ludo’.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-27  8:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-27  8:04 Locales Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).