store: Add 'with-build-handler'.
authorLudovic Courtès <ludo@gnu.org>
Wed, 18 Mar 2020 21:17:39 +0000 (22:17 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 22 Mar 2020 11:42:51 +0000 (12:42 +0100)
commit041b340da409078951267b6a8c43b27716e6b7ec
tree8542b6fc4e47d6f7245c1549c45348db69f2cc5f
parent9a067fe7ee3978a2f4f0ca0e89965f0fe49f4ce8
store: Add 'with-build-handler'.

* guix/store.scm (current-build-prompt): New variable.
(call-with-build-handler, invoke-build-handler): New procedures.
(with-build-handler): New macro.
* tests/store.scm ("with-build-handler"): New test.
.dir-locals.el
guix/store.scm
tests/store.scm