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.
This commit is contained in:
Maxim Cournoyer 2018-11-05 00:01:47 -05:00
parent 8d3beb3a44
commit 2e4d83398b
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 1 additions and 1 deletions

View File

@ -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)