guix-devel
[Top][All Lists]
Advanced

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

Re: dry-run defunct


From: Ludovic Courtès
Subject: Re: dry-run defunct
Date: Sun, 17 Jul 2016 15:40:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Andreas Enge <address@hidden> skribis:

> On Sun, Jul 17, 2016 at 12:32:18PM +0200, Pjotr Prins wrote:
>> Did --dry-run stop working, or is it me? Basically the flag is ignored
>> on the latest checkout.
>
> It does not quite work in the presence of grafts. As far as I understand
> from testing, the ungrafted packages are still built, and then it stops
> only before grafting.

Specifically, to determine whether a binary needs to be grafted, Guix
must check whether that binary depends on one of the things that we
would graft.

To do that, it must either have access to substitute information, or
have a local build of the thing at hand.

Thus, when substitutes are lacking, it will tend to build things right
away so that it can answer that question.

I agree this isn’t great, but I’m not sure how to improve on that.
(Nevertheless, it is better than answering the question based on
compile-time dependencies as was done before.)

Ludo’.



reply via email to

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