unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#33111] [PATCH 0/3] Have the binary tarball populate ~root/.config/guix/current
@ 2018-10-21 20:45 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-25 20:24 ` [bug#33111] [PATCH 0/3] Have the binary tarball populate ~root/.config/guix/current Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: Ludovic Courtès @ 2018-10-21 20:45 UTC (permalink / raw)
  To: 33111

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-11-23 14:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).