all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 33111@debbugs.gnu.org
Subject: [bug#33111] [PATCH 0/3] Have the binary tarball populate ~root/.config/guix/current
Date: Fri, 26 Oct 2018 07:33:47 +0200	[thread overview]
Message-ID: <87a7n15l1g.fsf@elephly.net> (raw)
In-Reply-To: <87bm7hsrjt.fsf@gnu.org>


Hi Ludo,

>> These patches address this by having the binary tarball populate
>> ~root/.config/guix/current like ‘guix pull’ does.
>>
>> There’s one downside though: with the last patch, the ‘glibc-utf8-locales’
>> is no longer included because ~root/.config/guix/current would be the
>> wrong place for it.  Consequently, users have to explicitly install it
>> in ~root/.guix-profile and set GUIX_LOCPATH accordingly.
>
> Any comments?  Ricardo?

Thank you for fixing this very confusing situation!  It is very good to
start out with a

I’m not sure I understand why ~root/.config/guix/current would be the
wrong place for the locales package.  It is true that this directory is
for Guix only, but users don’t need to know about the locales package.

Is it a problem to install the locales package alongside Guix in the
“guix pull” profile, or is it just inelegant?

I think it would be unfortunate if older versions of Guix would stop
working or report warnings when they are used in combination with a
separately managed profile containing the locales.  The locales need to
match the glibc version that the program is linked with, so I would
prefer if we could keep Guix and the locales together.

You know that I find the separation of glibc-locales to be an
unfortunate tradeoff, which makes using Guix on foreign distros a little
less convenient.  While I think that this patch set is a definite
improvement over the current situation, I would be sad to see the
locales separated and become a source of frustration or confusion.

Is there something we can do about this?  Would it be acceptable to add
glibc-locales as an explicit input to the result of “guix pull”?  I
understand that we don’t usually add glibc-*locales as an input, but I
think in the special case of “guix pull” it could be a reasonable
compromise / an acceptable exception.  What do you think?

--
Ricardo

  reply	other threads:[~2018-10-26  5:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-21 20:45 [bug#33111] [PATCH 0/3] Have the binary tarball populate ~root/.config/guix/current Ludovic Courtès
2018-10-21 20:49 ` [bug#33111] [PATCH 1/3] install: Parameterize the profile name for 'populate-single-profile-directory' Ludovic Courtès
2018-10-21 20:49   ` [bug#33111] [PATCH 2/3] pack: Add '--profile-name' Ludovic Courtès
2018-10-21 20:49   ` [bug#33111] [PATCH 3/3] build: Binary tarball now populates the "current-guix" profile Ludovic Courtès
2018-10-25 20:24 ` [bug#33111] [PATCH 0/3] Have the binary tarball populate ~root/.config/guix/current Ludovic Courtès
2018-10-26  5:33   ` Ricardo Wurmus [this message]
2018-10-26  9:57     ` Ludovic Courtès
2018-11-16 21:59       ` Ludovic Courtès
2018-11-23 14:43         ` bug#33111: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a7n15l1g.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=33111@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.