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

View file

@ -106,7 +106,7 @@ (define* (remote-eval exp session
(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.