summaryrefslogtreecommitdiff
path: root/guix/ssh.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2018-11-05 00:01:47 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2018-11-05 21:28:59 -0500
commit2e4d83398b9e0f7c32d2a2f4184a60da0a7819f5 (patch)
tree44775f3b1efdf20bbaaf07812e1aaa7251913fd7 /guix/ssh.scm
parent8d3beb3a44b619d46715dbc4ccad4acfe0a1dcde (diff)
ssh: Honor the SOCKET-NAME argument of connect-to-remote-daemon.
* guix/ssh.scm (connect-to-remote-daemon): Pass the `socket-name' variable to the `open-connection' call so that it is honored.
Diffstat (limited to 'guix/ssh.scm')
-rw-r--r--guix/ssh.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/ssh.scm b/guix/ssh.scm
index da20d4d8db..25ec8295e8 100644
--- a/guix/ssh.scm
+++ b/guix/ssh.scm
@@ -161,7 +161,7 @@ Throw an error on failure."
"/var/guix/daemon-socket/socket"))
"Connect to the remote build daemon listening on SOCKET-NAME over SESSION,
an SSH session. Return a <nix-server> object."
- (open-connection #:port (remote-daemon-channel session)))
+ (open-connection #:port (remote-daemon-channel session socket-name)))
(define (store-import-channel session)