From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27244: Should not $GUIX_LOCPATH belong to =?UTF-8?Q?=E2=80=98glibc-locales=E2=80=99?= rather than =?UTF-8?Q?=E2=80=98glibc=E2=80=99=3F?= Date: Mon, 05 Jun 2017 22:39:23 +0200 Message-ID: <87inka9nk4.fsf@gnu.org> References: <87shjf8abx.fsf@gmail.com> 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]:60881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHynF-0002dN-0N for bug-guix@gnu.org; Mon, 05 Jun 2017 16:40:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHynB-00026C-Tk for bug-guix@gnu.org; Mon, 05 Jun 2017 16:40:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dHynB-00025z-Qy for bug-guix@gnu.org; Mon, 05 Jun 2017 16:40:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dHynB-0004ep-Kl for bug-guix@gnu.org; Mon, 05 Jun 2017 16:40:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87shjf8abx.fsf@gmail.com> (Dmitry Alexandrov's message of "Mon, 05 Jun 2017 04:58:10 +0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Dmitry Alexandrov <321942@gmail.com> Cc: 27244@debbugs.gnu.org Hi Dmitry, Dmitry Alexandrov <321942@gmail.com> skribis: > As of now [0] a search path =E2=80=98GUIX_LOCPATH=E2=80=99 is exported wh= en =E2=80=98glibc=E2=80=99 > package, which does not comprise any locales, is installed. I guess, > it should belong to =E2=80=98glibc-locales=E2=80=99 and =E2=80=98glibc-ut= f8-locales=E2=80=99 instead. The idea of search path specifications like =E2=80=98GUIX_LOCPATH=E2=80=99 = is that the package that honors them defines them. For example, Python defines =E2=80=98PYTHONPATH=E2=80=99, Guile defines =E2=80=98GUILE_LOAD_PATH=E2=80=99, and so on. In this case, =E2=80=98GUIX_LOCPATH=E2=80=99 is honored by glibc, so glibc = defines it. If instead =E2=80=98glibc-utf8-locales=E2=80=99 defined it, then you=E2=80= =99d immediately get the recommendation about setting =E2=80=98GUIX_LOCPATH=E2=80=99, which I gu= ess is what you=E2=80=99d like to see. However, every locale-providing package would n= eed to define it, which is not great. On a related note, see this issue about indirect search path specifications: . Does it make sense? Thanks for your message, Ludo=E2=80=99.