archive: Use 'with-build-handler'.
authorLudovic Courtès <ludo@gnu.org>
Wed, 25 Mar 2020 13:55:08 +0000 (14:55 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 25 Mar 2020 15:02:53 +0000 (16:02 +0100)
commit2d5ee2c6e886ef3b717954b80c2c54c47c1805d2
treeca6bd92bf22bcb7dd473397f613c6d847cd3886d
parenteb019af8d84ad168d6cb11c011842fb0c8303f20
archive: Use 'with-build-handler'.

* guix/scripts/archive.scm (export-from-store): Remove call to
'show-what-to-build' and dry-run? condition.
(guix-archive): Wrap 'cond' in 'with-build-handler'.
guix/scripts/archive.scm