From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Having a Guix archive on the download page? Date: Wed, 11 Jul 2018 14:55:45 +0200 Message-ID: <874lh6kk32.fsf@gnu.org> References: <20180707121712.7mduwpoesyyeucqj@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdEeq-0006cN-Bg for guix-devel@gnu.org; Wed, 11 Jul 2018 08:55:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdEep-0001Ik-HZ for guix-devel@gnu.org; Wed, 11 Jul 2018 08:55:48 -0400 In-Reply-To: <20180707121712.7mduwpoesyyeucqj@thebird.nl> (Pjotr Prins's message of "Sat, 7 Jul 2018 14:17:12 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pjotr Prins Cc: guix-devel Hi Pjotr, Pjotr Prins skribis: > Is it an idea to also have a current Guix archive on the download > page? Or at least a link to one? > > https://www.gnu.org/software/guix/download/ > > Ever so often I need to rescue a running Guix system which won't run > guix pull and even a build-from-source quickly. Being able to do > > guix archive --import < guix-latest.nar > > or something similar would be rather convenient.=20 FWIW, this is in essence what the new =E2=80=98guix pull=E2=80=99 attempts = to do with the help of substitutes. Problems about missing dependencies leading to unusable =E2=80=98guix pull= =E2=80=99 (lack of Guile-Git, Guile-SQLite3, etc.) should now be gone because =E2=80=98guix pull=E2=80=99 now pulls Guix *and* its dependencies, which wa= s not the case before. Now the question is, will it always be possible to run =E2=80=98guix pull= =E2=80=99 from an arbitrary-old Guix? Maybe it will still be impossible sometimes if the old Guix is really too old. However, I suspect such issues will be much more rare. There=E2=80=99s essentially a single file that needs to be= put under scrutiny to avoid such issues: build-aux/build-self.scm. An archive like you suggest could be useful in those hopefully rare cases where things break, so it=E2=80=99s a good idea. Ludo=E2=80=99.