guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal: prefetch tarballs in a batch


From: Ludovic Courtès
Subject: Re: Proposal: prefetch tarballs in a batch
Date: Thu, 03 Apr 2014 09:24:35 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

>>> Is there a function that accepts a package name and returns a list of
>>> implicit inputs?
>
>> No, because by definition, those “implicit inputs” are not listed in the
>> package object.  Instead, they are added by the build system (see
>> build-system/gnu.scm.)
>
>> That’s why I suggested using derivations instead: take the output of
>> (package-derivation x y), and traverse it in search of fixed-output
>> derivations.
>
> What’s a fixed-ouput derivation?

A derivation whose result (hash thereof) is known in advance, as is the
case for downloads (info "(guix) Derivations").

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]