deploy-rs
deploy-rs copied to clipboard
deploy-rs hangs forever when no changes are necessary
I really really enjoy using deploy-rs, thanks for creating the project!
Somewhat recently I noticed that running
deploy '.#my-host' --skip-checks
hangs when there's nothing to deploy to my-host. There are no apparent problems when there is something to deploy.
also encountering this bug
In this case, NIX_SSHOPTS="-oControlMaster=no" prepended to the nix copy works
so sshOpts = ["-oControlMaster=no" ...] on your node config should make this work :3 (where ... is your remaining options for your use case)
Upstream bug is https://github.com/NixOS/nix/issues/3017
But even then, ControlPath should probably be set to path which doesn't exist, since the Control socket will still be used regardless