mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
deploy: Use 'map/accumulate-builds'.
* guix/scripts/deploy.scm (guix-deploy): Use 'map/accumulate-builds' instead of 'for-each'.
This commit is contained in:
parent
d089b23335
commit
18c8a4396b
1 changed files with 3 additions and 1 deletions
|
@ -152,4 +152,6 @@ (define (handle-argument arg result)
|
||||||
(with-build-handler (build-notifier #:use-substitutes?
|
(with-build-handler (build-notifier #:use-substitutes?
|
||||||
(assoc-ref opts 'substitutes?))
|
(assoc-ref opts 'substitutes?))
|
||||||
(parameterize ((%graft? (assq-ref opts 'graft?)))
|
(parameterize ((%graft? (assq-ref opts 'graft?)))
|
||||||
(for-each (cut deploy-machine* store <>) machines)))))))
|
(map/accumulate-builds store
|
||||||
|
(cut deploy-machine* store <>)
|
||||||
|
machines)))))))
|
||||||
|
|
Loading…
Reference in a new issue