From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 06 09:28:14 2018 Received: (at 22629) by debbugs.gnu.org; 6 Jun 2018 13:28:14 +0000 Received: from localhost ([127.0.0.1]:36023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQYU1-0003Vz-VN for submit@debbugs.gnu.org; Wed, 06 Jun 2018 09:28:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQYU0-0003Vo-Lh for 22629@debbugs.gnu.org; Wed, 06 Jun 2018 09:28:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQYTp-0007z2-Pu for 22629@debbugs.gnu.org; Wed, 06 Jun 2018 09:28:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQYTp-0007yv-Li; Wed, 06 Jun 2018 09:28:01 -0400 Received: from [193.50.110.188] (port=52618 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fQYTp-0004BV-4o; Wed, 06 Jun 2018 09:28:01 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Fis Trivial Subject: Re: bug#22629: [PATCH 0/4] 'guix pull' produces a self-contained Guix References: <87fu45ve2z.fsf@gnu.org> <20180531144337.16298-1-ludo@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Prairial an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 06 Jun 2018 15:27:59 +0200 In-Reply-To: (Fis Trivial's message of "Tue, 5 Jun 2018 16:47:20 +0000") Message-ID: <87d0x4jb8g.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22629 Cc: "22629@debbugs.gnu.org" <22629@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello! Fis Trivial skribis: >> The result of running =E2=80=98guix pull=E2=80=99 is a =E2=80=9Cpro= file=E2=80=9D available under >> =E2=80=98~/.config/guix/current=E2=80=99 containing the latest Guix. = Thus, make sure to >> add it to the beginning of your search path so that you use the latest >> version, and similarly for the Info manual (*note Documentation::): >> >> export PATH=3D"$HOME/.config/guix/current/bin:$PATH" >> export INFOPATH=3D"$HOME/.config/guix/current/share/info:$INFOPAT= H" >> > > This sounds like something could be done by guix itself, choosing the > right profile path by $HOME. Since guix has absolute control about this > piece of information? I think it would be bad for Guix to modify your ~/.bashrc directly, so it=E2=80=99s better to let users do that. GuixSD will have the right PATH and INFOPATH by default, though. >> Caveats: >> >> 1. The ~/.config/guix/current profile really lives there. That is, >> unlike ~/.guix-profile, it=E2=80=99s not in /var/guix/profiles/per-= user. >> That could be an issue for cluster setups where home directories >> are not scanned by the Guix GC. Cluster folks, please tell me! > > What does that mean? We have a guix directory under $HOME/.config, > inside there's a symlink to /gnu/store/...-guix-. Does "really > lives there" mean the new profile is not a symlink but a concrete > directory or hard link? Please see how ~/.guix-profile and /var/guix/profiles/per-user/$USER/guix-profile work together. Basically generations show up in /var/guix/profiles, whereas ~/.guix-profile is a fixed symlink. >> 3. C++ code is not built. I wonder which will come first: getting rid >> of the C++ code, or building it? :-) >> > In the future world, how do we update guix daemon? Is't still running > guix pull && guix package -u under root user? In the future world, =E2=80=98guix pull=E2=80=99 updates everything: client= -side and daemon. Currently it=E2=80=99s still client-side only. HTH! Ludo=E2=80=99.