From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEKbq-0008IU-S7 for guix-patches@gnu.org; Sun, 21 Oct 2018 16:46:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEKbp-0003DI-U3 for guix-patches@gnu.org; Sun, 21 Oct 2018 16:46:02 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58603) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gEKbp-0003DD-Ph for guix-patches@gnu.org; Sun, 21 Oct 2018 16:46:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gEKbp-000768-K3 for guix-patches@gnu.org; Sun, 21 Oct 2018 16:46:01 -0400 Subject: [bug#33111] [PATCH 0/3] Have the binary tarball populate ~root/.config/guix/current Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEKbS-0008Fu-Di for guix-patches@gnu.org; Sun, 21 Oct 2018 16:45:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEKbM-0002tn-Ok for guix-patches@gnu.org; Sun, 21 Oct 2018 16:45:36 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Sun, 21 Oct 2018 22:45:06 +0200 Message-Id: <20181021204506.1978-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33111@debbugs.gnu.org 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