summary refs log tree commit diff
path: root/tests/packages.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-03-04 21:49:08 +0100
committerLudovic Courtès <ludo@gnu.org>2016-03-05 00:19:10 +0100
commitc90cb5c9d84ded26ef44d1e6593508d5b9e4655e (patch)
treef09ea672f9608140ed33b1b43733a313f42b4d1e /tests/packages.scm
parent6581ec9ab9ccb82cf1ddd7cf78c02975954bf8bf (diff)
downloadguix-c90cb5c9d84ded26ef44d1e6593508d5b9e4655e.tar.gz
grafts: Use dependency information from substitutes when possible.
This avoids starting derivation builds just for the sake of knowing the
references of their outputs, thereby restoring the expected behavior of
--dry-run when substitutes are available.

* guix/grafts.scm (non-self-references): Remove 'store' parameter, and
add 'references'.  Use it.  Update caller.
(references-oracle): New variable.
(cumulative-grafts): Add 'references' parameter and use it.  Update
callers.
(graft-derivation): Remove 'build-derivations' call.  Add call to
'references-oracle'.
Diffstat (limited to 'tests/packages.scm')
0 files changed, 0 insertions, 0 deletions