GNU bug report logs -
#33111
[PATCH 0/3] Have the binary tarball populate ~root/.config/guix/current
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Sun, 21 Oct 2018 20:46:01 UTC
Severity: normal
Tags: patch
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 6 years and 236 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.