diff mbox series

[bug#36957,5/5] remote: Use (%daemon-socket-uri) rather than hard-coded path.

Message ID 87k1bezw95.fsf_-_@sdf.lonestar.org
State Accepted
Headers show
Series Consolidated patches for guix deploy | expand

Commit Message

Jakob L. Kreuze Aug. 15, 2019, 8:08 a.m. UTC
* 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(-)

Comments

Christine Lemmer-Webber Aug. 15, 2019, 11:44 a.m. UTC | #1
Merged and pushed!

Now to mark all the other issues as done too...
diff mbox series

Patch

diff --git a/guix/remote.scm b/guix/remote.scm
index d8124e41ab..ae2fe17dd2 100644
--- a/guix/remote.scm
+++ b/guix/remote.scm
@@ -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.