copy: Factorize 'with-store' & co.
authorLudovic Courtès <ludo@gnu.org>
Sun, 22 Mar 2020 11:19:49 +0000 (12:19 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 22 Mar 2020 11:42:52 +0000 (12:42 +0100)
commit7473238f7de28f9c85e364364c3155a3bbb877ac
tree8e8ea1a5be03526278b3f7951f67515166274d98
parent9b771305df5dfc31c06b81fbdeaae753ba5d4afe
copy: Factorize 'with-store' & co.

* guix/scripts/copy.scm (send-to-remote-host): Remove 'with-store' and
'set-build-options-from-command-line' call.  Add 'local' parameter.
(retrieve-from-remote-host): Likewise.
(guix-copy): Wrap 'with-status-verbosity' in 'with-store' and add call
to 'set-build-options-from-command-line'.
guix/scripts/copy.scm