From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nils Gillmann Subject: bug#22629: Towards a new 'guix pull' Date: Sun, 8 Apr 2018 17:45:33 +0000 Message-ID: <20180408174533.a5xlhofmkwwpklbj@abyayala> References: <87vb5vsffd.fsf@gnu.org> <87fu45ve2z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5EOH-0008Dc-2l for bug-guix@gnu.org; Sun, 08 Apr 2018 13:46:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5EOD-0005JM-3S for bug-guix@gnu.org; Sun, 08 Apr 2018 13:46:09 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34910) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5EOC-0005IZ-Un for bug-guix@gnu.org; Sun, 08 Apr 2018 13:46:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f5EOA-0005OK-7E for bug-guix@gnu.org; Sun, 08 Apr 2018 13:46:04 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87fu45ve2z.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 22629@debbugs.gnu.org Ludovic Courtès transcribed 2.0K bytes: > Hello Guix! > > ludo@gnu.org (Ludovic Courtès) skribis: > > > Here’s a series of improvements that I think we should make in ‘guix > > pull’: > > > > • Use Git instead of downloading a whole snapshot every time. The Git > > checkout would be kept in ~/.cache/guix/pull/checkouts, say. > > That was done a while back. :-) > > > • Build & install not only Scheme code, but also locales and the Info > > manual. > > … and also the C++ bits. > > With the work done in , we can build all of > Guix and its dependencies when doing ‘guix pull’, which brings us closer > to what the ‘guix’ package provides. > > Thus we can at least partly address the issue described in > , i.e., have > ‘guix pull’ install not just a bunch of .go files but also guile-git, > guile-ssh, gnutls, and Guile itself. > > To do that, we need a “paradigm shift” (sounds cute, no? :-)). > Currently, ‘scripts/guix’ fiddles with its %load-path and adds > ~/.config/guix/latest if it exists. The new ‘guix pull’ should provide > not just .go files but also a ‘guix’ command referring to the latest > Guile, Guile-Git, etc. > > To achieve this, I think the new approach would be to have: > > export PATH=$HOME/.config/guix/current/bin:$PATH > export INFOPATH=$HOME/.config/guix/current/share/info:$INFOPATH > … > > ‘guix pull’ would update ~/.config/guix/current, which would contain the > ‘guix’ command, all the .go files, locales, the Info manual, and ideally > ‘guix-daemon’ as well. > > ~/.config/guix/current could be a profile, or something that resembles a > profile. > > For a while ‘guix pull’ will have to keep updating ~/.config/guix/latest > as well, for users running an old ‘guix’ command. > > Thoughts? First thought: Woo! Good progress! On your propossed steps, sounds good to me. > Ludo’. > > >