From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Locale of build environments Date: Thu, 26 Feb 2015 18:45:22 -0500 Message-ID: <87y4nk6xv1.fsf@netris.org> References: <20150210201452.GA15529@debian> <87h9urt50j.fsf@netris.org> <87mw4iq3uz.fsf_-_@gnu.org> <87bnkgw9fn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR87J-0001uf-Fp for guix-devel@gnu.org; Thu, 26 Feb 2015 18:45:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YR87G-0002dj-B0 for guix-devel@gnu.org; Thu, 26 Feb 2015 18:45:17 -0500 In-Reply-To: <87bnkgw9fn.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 27 Feb 2015 00:16:12 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Commit 5335c56 adds an =E2=80=98install-locale=E2=80=99 phase to gnu-buil= d-system and > the next one adds glibc-utf8-locale to the implicit inputs. > > During bootstrap, locales aren=E2=80=99t available so we=E2=80=99re 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=E2=80=93i.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 =E2=80=98graft-derivation=E2=80= =99. Okay, I'll work on it. I also want to optimize grafting. > Note to Mark: I didn=E2=80=99t use the #:env-vars approach we discussed o= n IRC, > where we=E2=80=99d pass GUILE_INSTALL_LOCALE=3D1 and LOCPATH=3D... direct= ly because > that was trickier to do and didn=E2=80=99t add anything. Okay, makes sense. Thanks! Mark