From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Proposal: prefetch tarballs in a batch Date: Thu, 03 Apr 2014 09:24:35 +0200 Message-ID: <87vbuqvpsc.fsf@gnu.org> References: <87ha6jkyv8.fsf@karetnikov.org> <877g7epico.fsf@gnu.org> <87wqf8prau.fsf@karetnikov.org> <87ha6blwii.fsf@gnu.org> <87d2gznysk.fsf@karetnikov.org> 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]:53751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVc0x-0002lw-Os for guix-devel@gnu.org; Thu, 03 Apr 2014 03:24:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVc0r-00063N-Kb for guix-devel@gnu.org; Thu, 03 Apr 2014 03:24:43 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:57263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVc0r-00063H-E6 for guix-devel@gnu.org; Thu, 03 Apr 2014 03:24:37 -0400 In-Reply-To: <87d2gznysk.fsf@karetnikov.org> (Nikita Karetnikov's message of "Thu, 03 Apr 2014 02:37:15 +0400") 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: Nikita Karetnikov Cc: guix-devel@gnu.org Nikita Karetnikov skribis: >>> Is there a function that accepts a package name and returns a list of >>> implicit inputs? > >> No, because by definition, those =E2=80=9Cimplicit inputs=E2=80=9D are n= ot listed in the >> package object. Instead, they are added by the build system (see >> build-system/gnu.scm.) > >> That=E2=80=99s why I suggested using derivations instead: take the outpu= t of >> (package-derivation x y), and traverse it in search of fixed-output >> derivations. > > What=E2=80=99s a fixed-ouput derivation? A derivation whose result (hash thereof) is known in advance, as is the case for downloads (info "(guix) Derivations"). Ludo=E2=80=99.