Re: [Nix-dev] Set locale during nix build?

2013-08-27 Thread Rickard Nilsson
On 08/27/2013 02:37 PM, Eelco Dolstra wrote: > 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=${

Re: [Nix-dev] Set locale during nix build?

2013-08-27 Thread Eelco Dolstra
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

Re: [Nix-dev] Set locale during nix build?

2013-08-27 Thread Peter Simons
Hi Rickard, have you tried adding export LANG="en_US.UTF-8" to the build environment, i.e. in a preConfigure hook? Take care, Peter ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

Re: [Nix-dev] Set locale during nix build?

2013-08-26 Thread Rickard Nilsson
No, this is actually Haskell-related. I'm trying to use Hakyll in a Nix build, but it fails due to the locale (http://jaspervdj.be/hakyll/tutorials/faq.html). / Rickard On 08/26/2013 07:54 PM, Domen Kožar wrote: > I'm just guessing: python related (maybe 3?). > > I also haven't found a way

Re: [Nix-dev] Set locale during nix build?

2013-08-26 Thread Domen Kožar
I'm just guessing: python related (maybe 3?). I also haven't found a way to fix that. On Mon, Aug 26, 2013 at 7:50 PM, Rickard Nilsson wrote: > Hi, > > I have a Nix build that fail because the locale is POSIX in the build > environment. I need to set it to an UTF-8 locale. > > How do I do that?

[Nix-dev] Set locale during nix build?

2013-08-26 Thread Rickard Nilsson
Hi, I have a Nix build that fail because the locale is POSIX in the build environment. I need to set it to an UTF-8 locale. How do I do that? I have tried various exports, and looked at other packages for solutions, but I have so far not found any solution. Best regards, Rickard __