guix-devel
[Top][All Lists]
Advanced

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

Re: Locale of build environments


From: Mark H Weaver
Subject: Re: Locale of build environments
Date: Thu, 26 Feb 2015 18:45:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Commit 5335c56 adds an ‘install-locale’ phase to gnu-build-system and
> the next one adds glibc-utf8-locale to the implicit inputs.
>
> During bootstrap, locales aren’t available so we’re still running on the
> C locale, which is fine in practice because we only get to deal with
> ASCII file names at that point and do not need UTF-8 for tests or
> anything.
>
> Commit 9cca706 adjust patch-and-repack to use UTF-8 as well when
> possible–i.e., not during bootstrap.

Thanks!

However, there's a missing piece: I think we should set LANG to the
chosen locale, otherwise the top-level guile builder will be the only
process that uses UTF-8.  What do you think?

> The remain thing that needs to be done is ‘graft-derivation’.

Okay, I'll work on it.  I also want to optimize grafting.

> Note to Mark: I didn’t use the #:env-vars approach we discussed on IRC,
> where we’d pass GUILE_INSTALL_LOCALE=1 and LOCPATH=... directly because
> that was trickier to do and didn’t add anything.

Okay, makes sense.

    Thanks!
      Mark



reply via email to

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