guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Locales not working


From: Ludovic Courtès
Subject: Re: Locales not working
Date: Wed, 11 Feb 2015 21:39:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Andreas Enge <address@hidden> skribis:

> The code of glibc states
>             ;; Installing a locale archive with all the locales is to
>             ;; expensive (~100 MiB), so we rely on users to install the
>             ;; locales they really want.
> But how do I do that? I wondered if there was an additional "locale" output
> of glibc, but there is not.
>
> $ guix package -A locale
> does not return anything useful.
>
> There is a section 6.2.6 in the manual, but it only speaks about GSD,
> not about Guix inside other systems.

Right, Mark reported it as well.

The basic idea is that it’s up to you to define $LOCPATH and have it
point to a place that contains locale data (info "(libc) Locale Names").

But I think we could provide a ‘glibc-locales’ package (110 MiB) for
those in search of a quick fix on foreign distros.

(Time passes...)

Commit aee6180c adds ‘glibc-locales’.  You can install it and do:

  export LOCPATH=$HOME/.guix-profile/share/locale

though that’s not the most efficient approach space-wise.

I would instead recommend using your host libc’s locale data, which
should be compatible; something like that (untested):

  export LOCPATH=/usr/share/locale

Last, commit d6718df of ‘core-updates’ adds a search path specification
for ‘LOCPATH’.  (Not really useful for profiles since one would need to
explicitly install glibc in their profile to get the message about
‘LOCPATH’.)

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]