From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH] gnu: Add glibc-locales variants for older versions of glibc. Date: Thu, 17 Jan 2019 14:23:33 +0100 Message-ID: <87a7jzh0yy.fsf@elephly.net> References: <20190117131753.15696-1-rekado@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gk7sj-0006XZ-BX for guix-devel@gnu.org; Thu, 17 Jan 2019 08:38:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gk7si-0006PB-EI for guix-devel@gnu.org; Thu, 17 Jan 2019 08:38:53 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21821) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gk7sh-0006M9-Ta for guix-devel@gnu.org; Thu, 17 Jan 2019 08:38:52 -0500 In-reply-to: <20190117131753.15696-1-rekado@elephly.net> 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" To: guix-devel@gnu.org Ricardo Wurmus writes: > * gnu/packages/base.scm (make-glibc-locales, make-glibc-utf8-locales): New > procedures. > (glibc-locales): Express in terms of make-glibc-locales. > (glibc-utf8-locales): Express in terms of make-glibc-utf8-locales. > (glibc-locales-2.27, glibc-utf8-locales-2.27): New variables. This is for the benefit of people who run Guix on top of a foreign distro. On a Guix system people can simply use the =E2=80=9Clocale-libcs= =E2=80=9D field of their operating system declaration, but on a foreign distro there is no way to install a locales package for older versions of glibc. This patch generates variants for version 2.27 and overrides the name so that both =E2=80=9Cglibc-locales=E2=80=9D and =E2=80=9Cglibc-locales-2.27= =E2=80=9D can be installed into the same profile. (Without the name override that=E2=80=99s not possible.) --=20 Ricardo