diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-02-27 23:28:35 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-02-27 23:31:52 +0100 |
commit | f376dc3acb69a7345a7e945a37a78f63ac626edb (patch) | |
tree | 03c9178ef71bf7db808823bbd60a5588512375ff /tests/derivations.scm | |
parent | cd05d388121d6a9d7ee83aefa29d3c3b255b7552 (diff) | |
download | patches-f376dc3acb69a7345a7e945a37a78f63ac626edb.tar patches-f376dc3acb69a7345a7e945a37a78f63ac626edb.tar.gz |
grafts: Consider all the outputs in the graft mapping.
Before that, outputs of a derivation could be left referring to the
ungrafted version of the derivation.
* guix/grafts.scm (graft-derivation)[outputs]: Change to a list of
name/file pairs.
* guix/grafts.scm (graft-derivation)[build]: Add 'old-outputs' variable
and use it when computing 'mapping'. Use 'mapping' directly.
* tests/grafts.scm ("graft-derivation, multiple outputs"): New test.
Diffstat (limited to 'tests/derivations.scm')
0 files changed, 0 insertions, 0 deletions