[Nix-dev] defaultLocale

Lluís Batlle i Rossell viric at viric.name
Fri Jan 20 14:59:14 CET 2012


On Fri, Jan 20, 2012 at 02:39:37PM +0100, Florian Friesdorf wrote:
> On Fri, 20 Jan 2012 13:30:44 +0100, Mathijs Kwik <mathijs at bluescreen303.nl> wrote:
> > I do however get strange warnings (not errors) sometimes that certain
> > apps fall back to the 'C' locale.
> > Other than that, it's good.
> 
> > On Fri, Jan 20, 2012 at 12:44 PM, Eelco Dolstra <e.dolstra at tudelft.nl> wrote:
> > > However it's not perfect because it causes warnings in some places.  E.g. doing
> > > "su" gives:
> > >
> > > -bash: warning: setlocale: LC_TIME: cannot change locale (en_GB.UTF8): No such
> > > file or directory
> > >
> > > Possibly $LOCALE_ARCHIVE isn't set when bash is first called.
> 
> Did you recently check that? I at least fixed it for sudo nixos-rebuild
> with revision 31491.

xsession and mingetty should also have the proper LOCALE_ARCHIVE, otherwise some
utf-8 chars handling failed too.


More information about the nix-dev mailing list