From: "Ludovic Courtès" <ludo@gnu.org>
To: 33111@debbugs.gnu.org
Subject: [bug#33111] [PATCH 0/3] Have the binary tarball populate ~root/.config/guix/current
Date: Sun, 21 Oct 2018 22:45:06 +0200 [thread overview]
Message-ID: <20181021204506.1978-1-ludo@gnu.org> (raw)
Hello Guix!
Currently the binary tarball populates ~root/.guix-profile. This creates
confusion when people realize that ‘guix pull’, instead, updates
~root/.config/guix; it’s also inconvenient because it forces root to do
“guix pull && guix package -u guix” or similar if they want to update
the default Guix revision on the distro.
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.
A possible fix would be to modify ‘guix pack’ so that it can create not
just two profiles, where ~root/.guix-profile would contain
‘glibc-utf8-locales’. That’d be a non-trivial change, though.
Thoughts?
Thanks,
Ludo’.
Ludovic Courtès (3):
install: Parameterize the profile name for
'populate-single-profile-directory'.
pack: Add '--profile-name'.
build: Binary tarball now populates the "current-guix" profile.
Makefile.am | 6 ++----
doc/guix.texi | 37 +++++++++++++++++++++++--------------
etc/guix-daemon.conf.in | 2 +-
etc/guix-daemon.service.in | 4 ++--
etc/guix-install.sh | 21 +++++++++++----------
etc/guix-publish.conf.in | 2 +-
etc/guix-publish.service.in | 4 ++--
gnu/build/install.scm | 24 ++++++++++++++++++------
guix/scripts/pack.scm | 20 +++++++++++++++++++-
tests/guix-pack.sh | 17 +++++++++++++++--
10 files changed, 94 insertions(+), 43 deletions(-)
--
2.19.1
next reply other threads:[~2018-10-21 20:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-21 20:45 Ludovic Courtès [this message]
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
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181021204506.1978-1-ludo@gnu.org \
--to=ludo@gnu.org \
--cc=33111@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).