grafts: Actually cache grafts during the derivation DAG traversal.
authorLudovic Courtès <ludo@gnu.org>
Mon, 16 Jan 2017 20:59:00 +0000 (21:59 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 16 Jan 2017 21:13:21 +0000 (22:13 +0100)
commit90ad5c8836138b7fd4d1bd0243dfa8b30ae0cf21
treea9471f3cb796528cde0694a35c5c3518289a6293
parentb09903619f82c1561612602307c1ffe426ca74fd
grafts: Actually cache grafts during the derivation DAG traversal.

This fixes a regression introduced in
d38bc9a9f6feefc465964531520fee5663a12f48 whereby the cache was
effectively disabled.

Reported by Thomas Danckaert <thomas.danckaert@gmail.com>.

* guix/grafts.scm (with-cache): In the cache miss case, wrap body in
'mbegin'.
guix/grafts.scm