From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: updating list of substitutes Date: Tue, 21 Apr 2015 10:40:28 +0200 Message-ID: <20150421084028.GB16564@thebird.nl> References: <20150421064525.GA15795@thebird.nl> <87a8y1q49z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkTk0-0002x7-RP for guix-devel@gnu.org; Tue, 21 Apr 2015 04:41:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkTjv-0001i7-Mt for guix-devel@gnu.org; Tue, 21 Apr 2015 04:41:12 -0400 Content-Disposition: inline In-Reply-To: <87a8y1q49z.fsf@gnu.org> 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: Ludovic =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org On Tue, Apr 21, 2015 at 10:22:48AM +0200, Ludovic Court=E8s wrote: > Pjotr Prins skribis: >=20 > > 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? >=20 > Yes, but the amount of time is unspecified. >=20 > On hydra.gnu.org it can be quite long in practice, so that would call i= n > favor of increasing the default TTL in ???guix substitute???. >=20 > In the longer run, we need servers to advertise their TTL (someone > running ???guix publish??? may have a different TTL.) >=20 > > Q2: Can we switch off updating list of substitutes? A command line > > switch would do. '--no-update-supstitutes' >=20 > No. Can we have that option? > > Q3: Would it be possible to version the list of substitutes and use > > that for (re)deployment? That way I can truely regenerate an exis= ting > > system. >=20 > You can always regenerate an existing system. The list of substitutes > reflects what???s currently available on hydra.gnu.org. If some > substitutes vanish, Guix automatically falls back to building from > source. How do I recreate the exact same system from Hydra? Even now if I install the exact same Ruby-2.2.1 it will install different packages compared to yesterday. We could solve it by giving the list of substitutes a HASH and able to select that and install. Pj.