From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Re: Proposal: prefetch tarballs in a batch Date: Wed, 02 Apr 2014 03:23:53 +0400 Message-ID: <87wqf8prau.fsf@karetnikov.org> References: <87ha6jkyv8.fsf@karetnikov.org> <877g7epico.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV87G-0007vi-AT for guix-devel@gnu.org; Tue, 01 Apr 2014 19:29:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WV87F-00022m-KH for guix-devel@gnu.org; Tue, 01 Apr 2014 19:29:14 -0400 In-Reply-To: <877g7epico.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 28 Mar 2014 14:23:35 +0100") 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 =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > The simplest way to do it would be by walking the package DAG: start > from =E2=80=98foo=E2=80=99, accumulate its =E2=80=98package-source=E2=80= =99, then traverse its inputs, > etc. Recursion would stop at the implicit inputs (GCC, glibc, > Coreutils, etc.), though. > If you=E2=80=99d like implicit inputs to be taken into account, then you= =E2=80=99d have > to traverse derivations. It=E2=80=99s less convenient because it=E2=80= =99s lower-level. Is there a function that accepts a package name and returns a list of implicit inputs? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJTO0qOAAoJEM+IQzI9IQ38lf8P/jDdp32bwLciAc4pX+gnO/Er QKQWlijp9sPhz/tAN5GlivFY4oRS8QBxaEKh5xlhjNqiys9vMC/FAzFZraDFZwMo qwIY872Y56WWKSU7XKiBxt+N6ys2jPoI1ARMgAP959hHro1QPJqd4q+ivwZYo3Vn VTircJyNw4zVFUwhc/jXyqFmvIaZbd7VaGset3VdDNAusSxSdIVwhJtP/BeJTG2h RDY9sEIJCs5eo3CdPBvBwtImyK/cGyjWX6GS3PoNQLh+4B7tTfos+VvBtZmikBOl u25NdxZxBywMEHS8rKYSgITUb5cgWKiXy8f0o5vhvPlTXh7S09Ldn1EVI4R3Gz+S RqCBJvmuwecWlo0hU6tAB0QJyfwEAJ+7f+wXFVa9S/V5hESilNmmtxRRXT7LRsy6 q/L3dGVMzVJ7J5gdnfyTrEuPDtA+EKyQuaz7FdfB+TqCqm9jMYUk+VtAZGlrZTmT ZX7gMnQrmpVpXTw8BH+XKp014htECEPttbiIcSxXTZ/ZFW4yO+0laGk8wWsL0Cyi COUjSnXB09aSWOa/HxB273mMeJbpJPoHb3B3MYLbRY+RZ5cFvtBzqAly9UnUxpCG cFqYspL51up8DSelJ8eFOnCK6wi3ONA/DEgHxgUcNtJaA48nDldw8gfbz7AcWws5 OdZLKFLS78iuMKebUuXI =SlVc -----END PGP SIGNATURE----- --=-=-=--