about summary refs log tree commit diff
path: root/src/libstore/remote-store.cc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-02-18T22·05+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-02-19T09·19+0100
commit3e067ac11c1621f989011432f619652a9c20e6f4 (patch)
tree4c26c31ab8e793481492ca1c1dd7b85ffd8f116e /src/libstore/remote-store.cc
parent5ea138dc4b9822095723b75bc2962e3d899f5437 (diff)
Add `Settings::nixDaemonSocketFile'.
Diffstat (limited to 'src/libstore/remote-store.cc')
-rw-r--r--src/libstore/remote-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index 0e62914c022f..2b5a932131c3 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -91,7 +91,7 @@ void RemoteStore::connectToDaemon()
         throw SysError("cannot create Unix domain socket");
     closeOnExec(fdSocket);
 
-    string socketPath = settings.nixStateDir + DEFAULT_SOCKET_PATH;
+    string socketPath = settings.nixDaemonSocketFile;
 
     /* Urgh, sockaddr_un allows path names of only 108 characters.  So
        chdir to the socket directory so that we can pass a relative