From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: updating list of substitutes Date: Mon, 12 Oct 2015 08:06:07 +0200 Message-ID: <20151012060607.GA11012@thebird.nl> References: <20150421064525.GA15795@thebird.nl> <87a8y1q49z.fsf@gnu.org> <20150421084028.GB16564@thebird.nl> <20150422114635.GA24566@thebird.nl> <20151011074654.GA8058@thebird.nl> <87wputz1uj.fsf@gnu.org> <20151011212714.GA9401@thebird.nl> <87d1wk8y7e.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlWHm-0000kS-3F for guix-devel@gnu.org; Mon, 12 Oct 2015 02:08:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlWHi-0007oC-Ul for guix-devel@gnu.org; Mon, 12 Oct 2015 02:08:38 -0400 Content-Disposition: inline In-Reply-To: <87d1wk8y7e.fsf@netris.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: Mark H Weaver Cc: guix-devel@gnu.org On Mon, Oct 12, 2015 at 01:15:01AM -0400, Mark H Weaver wrote: > The phrase "the substitute list" suggests a single, complete list of all > available substitutes, but there is no such list. Instead, quoting > Ludovic above: > > "When building a package FOO, Guix looks for substitutes for FOO > and its prerequisites (those not already available locally.) It > maintains in /var/guix/substitute/cache a cache of those lookups." > > So, if you build package BAR immediately after building FOO, a different > set of substitutes is queried, and typically that involves more lookups > (unless FOO runtime-depends on BAR). > > Does that make sense? Right. So, why don't we have one list for every build? That would save connecting to the one single server every time and be less fragile. Pj.