mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-28 20:12:11 +02:00
machine: ssh: Use store-parameterize in a monad.
* gnu/machine/ssh (deploy-managed-host): Use store-parameterize in monadic context. Change-Id: I6441a5dac856633f2c2a00b77f21a385bf3a9510 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
committed by
Ludovic Courtès
parent
b5745a327e
commit
60f8d67480
+2
-2
@@ -542,8 +542,8 @@ failed to switch systems while deploying '~a':~%~{~s ~}")
|
|||||||
host
|
host
|
||||||
(inferior-exception-arguments c))))
|
(inferior-exception-arguments c))))
|
||||||
os))
|
os))
|
||||||
(parameterize ((%current-system system)
|
(store-parameterize ((%current-system system)
|
||||||
(%current-target-system #f))
|
(%current-target-system #f))
|
||||||
(with-roll-back #t
|
(with-roll-back #t
|
||||||
(mbegin %store-monad
|
(mbegin %store-monad
|
||||||
(upgrade-shepherd-services (eval/error-handling c
|
(upgrade-shepherd-services (eval/error-handling c
|
||||||
|
|||||||
Reference in New Issue
Block a user