[Top][All Lists]

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

Re: Odd behavior with --dry-run and --upgrade

From: Leo Famulari
Subject: Re: Odd behavior with --dry-run and --upgrade
Date: Sat, 23 Jul 2016 14:23:24 -0400
User-agent: Mutt/1.6.0 (2016-04-01)

On Sat, Jul 23, 2016 at 05:11:03PM +0200, Roel Janssen wrote:
> For some time now, running `guix package --dry-run --upgrade' results in
> build actions involving grafting.  For a dry-run, I find that really
> odd.  I believe the correct behavior should be what can be achieved
> with: `guix package --dry-run --no-grafts --upgrade'.

Right, it has to build the ungrafted things in order to do a dry-run of
the grafts.

> Do you think the behavior of --dry-run should be changed to not graft
> things by default?  And if so, do you have a pointer where I could find
> the problematic code?  I couldn't find anything particularly odd because
> the code involved has a `dry-run?' condition pretty much everywhere it
> matters.

I think we should be able to do --dry-runs of grafting. But I was also
confused by the effect of the grafts at first. I'll wait for the
opinions of more experienced developers :)

reply via email to

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