aboutsummaryrefslogtreecommitdiff
path: root/guix/remote.scm
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-08-15 04:08:22 -0400
committerChristopher Lemmer Webber <cwebber@dustycloud.org>2019-08-15 07:43:21 -0400
commit5f32531770b532deafb79601ecff4913ec38d0b2 (patch)
tree377a994bbbd0eafa09e108e239c3f1e00889455d /guix/remote.scm
parent3967a946c6b36bdd51bd0f11b75ad1f7ef3d4674 (diff)
downloadguix-5f32531770b532deafb79601ecff4913ec38d0b2.tar
guix-5f32531770b532deafb79601ecff4913ec38d0b2.tar.gz
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.
Diffstat (limited to 'guix/remote.scm')
-rw-r--r--guix/remote.scm2
1 files changed, 1 insertions, 1 deletions
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.