[Nix-dev] Set locale during nix build?

Eelco Dolstra eelco.dolstra at logicblox.com
Tue Aug 27 14:37:57 CEST 2013


Hi,

On 27/08/13 10:29, Peter Simons wrote:

> have you tried adding
> 
>   export LANG="en_US.UTF-8"
> 
> to the build environment, i.e. in a preConfigure hook?

If you do that, you probably also need to set:

  export LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive

Otherwise the locale won't be found.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list