From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: updating list of substitutes Date: Tue, 21 Apr 2015 10:22:48 +0200 Message-ID: <87a8y1q49z.fsf@gnu.org> References: <20150421064525.GA15795@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]:49451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkTSJ-00059a-4I for guix-devel@gnu.org; Tue, 21 Apr 2015 04:22:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkTSF-0000ft-4D for guix-devel@gnu.org; Tue, 21 Apr 2015 04:22:55 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkTSF-0000fJ-0c for guix-devel@gnu.org; Tue, 21 Apr 2015 04:22:51 -0400 In-Reply-To: <20150421064525.GA15795@thebird.nl> (Pjotr Prins's message of "Tue, 21 Apr 2015 08:45:25 +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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Pjotr Prins Cc: guix-devel@gnu.org Pjotr Prins skribis: > Pretty much every time I want to install a package I get a search for > > updating list of substitutes=20 > > being on a slow internet line this sucks (not everyone has fast > internet! Think outside the US/Europe where internet is often still > metered on mobile lines), besides installing the same software often > install a host of new versions of dependencies. I don't like the > system changing under me - that is not a reproducible setup. > > Q1: Do we retain older builds of binaries for some time for download? Yes, but the amount of time is unspecified. On hydra.gnu.org it can be quite long in practice, so that would call in favor of increasing the default TTL in =E2=80=98guix substitute=E2=80=99. In the longer run, we need servers to advertise their TTL (someone running =E2=80=98guix publish=E2=80=99 may have a different TTL.) > Q2: Can we switch off updating list of substitutes? A command line > switch would do. '--no-update-supstitutes' No. > Q3: Would it be possible to version the list of substitutes and use > that for (re)deployment? That way I can truely regenerate an existing > system. You can always regenerate an existing system. The list of substitutes reflects what=E2=80=99s currently available on hydra.gnu.org. If some substitutes vanish, Guix automatically falls back to building from source. HTH, Ludo=E2=80=99.