cwebber pushed a commit to branch master
in repository guix.

commit 5f32531770b532deafb79601ecff4913ec38d0b2
Author: Jakob L. Kreuze <>
Date:   Thu Aug 15 04:08:22 2019 -0400

    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.
 guix/remote.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/remote.scm b/guix/remote.scm
index d8124e4..ae2fe17 100644
--- a/guix/remote.scm
+++ b/guix/remote.scm
@@ -106,7 +106,7 @@ result to the current output port using the (guix repl) 
                       (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.

Reply via email to