mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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:
parent
b5745a327e
commit
60f8d67480
1 changed files with 2 additions and 2 deletions
|
@ -542,8 +542,8 @@ failed to switch systems while deploying '~a':~%~{~s ~}")
|
|||
host
|
||||
(inferior-exception-arguments c))))
|
||||
os))
|
||||
(parameterize ((%current-system system)
|
||||
(%current-target-system #f))
|
||||
(store-parameterize ((%current-system system)
|
||||
(%current-target-system #f))
|
||||
(with-roll-back #t
|
||||
(mbegin %store-monad
|
||||
(upgrade-shepherd-services (eval/error-handling c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue