From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Locale of build environments Date: Fri, 27 Feb 2015 00:16:12 +0100 Message-ID: <87bnkgw9fn.fsf@gnu.org> References: <20150210201452.GA15529@debian> <87h9urt50j.fsf@netris.org> <87mw4iq3uz.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]:58423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR7fH-0003D2-T0 for guix-devel@gnu.org; Thu, 26 Feb 2015 18:16:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YR7fE-0002Qc-Mq for guix-devel@gnu.org; Thu, 26 Feb 2015 18:16:19 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YR7fE-0002QY-Jr for guix-devel@gnu.org; Thu, 26 Feb 2015 18:16:16 -0500 In-Reply-To: <87mw4iq3uz.fsf_-_@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Thu, 12 Feb 2015 21:20:04 +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: Mark H Weaver Cc: guix-devel@gnu.org Commit 5335c56 adds an =E2=80=98install-locale=E2=80=99 phase to gnu-build-= 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 r= unning 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. The remain thing that needs to be done is =E2=80=98graft-derivation=E2=80= =99. Note to Mark: I didn=E2=80=99t use the #:env-vars approach we discussed on = IRC, where we=E2=80=99d pass GUILE_INSTALL_LOCALE=3D1 and LOCPATH=3D... directly= because that was trickier to do and didn=E2=80=99t add anything. Ludo=E2=80=99.