aboutsummaryrefslogtreecommitdiff
path: root/src/nix-daemon/nix-daemon.cc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-02-18 23:05:40 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-02-19 10:19:18 +0100
commit3e067ac11c1621f989011432f619652a9c20e6f4 (patch)
tree4c26c31ab8e793481492ca1c1dd7b85ffd8f116e /src/nix-daemon/nix-daemon.cc
parent5ea138dc4b9822095723b75bc2962e3d899f5437 (diff)
Add `Settings::nixDaemonSocketFile'.
Diffstat (limited to 'src/nix-daemon/nix-daemon.cc')
-rw-r--r--src/nix-daemon/nix-daemon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc
index 35e5c546e..9c6766557 100644
--- a/src/nix-daemon/nix-daemon.cc
+++ b/src/nix-daemon/nix-daemon.cc
@@ -774,7 +774,7 @@ static void daemonLoop()
if (fdSocket == -1)
throw SysError("cannot create Unix domain socket");
- string socketPath = settings.nixStateDir + DEFAULT_SOCKET_PATH;
+ string socketPath = settings.nixDaemonSocketFile;
createDirs(dirOf(socketPath));