guix package, pull: Use 'with-build-handler'.
authorLudovic Courtès <ludo@gnu.org>
Thu, 19 Mar 2020 09:42:28 +0000 (10:42 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 22 Mar 2020 11:42:51 +0000 (12:42 +0100)
commit65ffb9388c1c3d870cb07e4cb3ef12c9ac06a161
tree0988fce3f8421b2da0e91ee92839a1e5dc91d131
parent5f5e9a5cd63352875ea968f89bc4b8cb4318cc02
guix package, pull: Use 'with-build-handler'.

* guix/scripts/package.scm (build-and-use-profile): Remove #:dry-run?
and #:use-substitutes?.  Remove call to 'show-what-to-build' and
'dry-run?' special case.
(process-actions): Adjust accordingly.
(guix-package*): Wrap 'parameterize' in 'with-build-handler'.
* guix/scripts/pull.scm (build-and-install): Remove #:use-substitutes?
and #:dry-run? and adjust 'update-profile' call accordingly.  Remove
'dry-run?' conditional.
(guix-pull): Wrap body in 'with-build-handler'.
guix/scripts/package.scm
guix/scripts/pull.scm