all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: dry-run defunct
Date: Sun, 17 Jul 2016 15:40:56 +0200	[thread overview]
Message-ID: <87d1mc4c2f.fsf@gnu.org> (raw)
In-Reply-To: <20160717110535.GA9940@solar> (Andreas Enge's message of "Sun, 17 Jul 2016 13:05:35 +0200")

Andreas Enge <andreas@enge.fr> 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	other threads:[~2016-07-17 13:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-17 10:32 dry-run defunct Pjotr Prins
2016-07-17 11:05 ` Andreas Enge
2016-07-17 13:40   ` Ludovic Courtès [this message]
2016-07-17 16:52     ` Pjotr Prins
2016-07-17 19:26       ` Andreas Enge
2016-07-18 12:15         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1mc4c2f.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.