diff --git a/nix/nix.go b/nix/nix.go index bb63870..7fe04aa 100644 --- a/nix/nix.go +++ b/nix/nix.go @@ -347,6 +347,7 @@ func Push(ctx *ssh.SSHContext, host Host, paths ...string) (err error) { options := mkOptions(host) for _, path := range paths { args := []string{ + "-v", "copy", path, "--to", "ssh://" + userArg + host.TargetHost + keyArg,