remote: Use (%daemon-socket-uri) rather than hard-coded path.

* guix/remote.scm (remote-eval): Use (%daemon-socket-uri) as the default
value of 'socket-name' rather than hard-coded path.
This commit is contained in:
Jakob L. Kreuze 2019-08-15 04:08:22 -04:00 committed by Christopher Lemmer Webber
parent 3967a946c6
commit 5f32531770
No known key found for this signature in database
GPG Key ID: 4BC025925FF8F4D3
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ result to the current output port using the (guix repl) protocol."
(build-locally? #t)
(system (%current-system))
(module-path %load-path)
(socket-name "/var/guix/daemon-socket/socket")
(socket-name (%daemon-socket-uri))
(become-command #f))
"Evaluate EXP, a gexp, on the host at SESSION, an SSH session. Ensure that
all the elements EXP refers to are built and deployed to SESSION beforehand.