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 :)