grafts: Apply the right grafts in the presence of multiple outputs.
authorLudovic Courtès <ludo@gnu.org>
Mon, 17 Oct 2016 21:43:33 +0000 (23:43 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 17 Oct 2016 21:59:03 +0000 (23:59 +0200)
commit3d47aa81ba4c19b45ce9a9ff0ece0252777ea8ed
treef12190e8ba332d08806100441dfdfec8acd80586
parent645b9df858683dc05ffa04c9eb2fdc45ccef4a65
grafts: Apply the right grafts in the presence of multiple outputs.

Fixes <http://bugs.gnu.org/24712>.

* guix/grafts.scm (cumulative-grafts): Add grafts for all the outputs of
DRV.
* tests/grafts.scm ("graft-derivation, replaced derivation has multiple
outputs"): New test.
guix/grafts.scm
tests/grafts.scm