1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 22:01:15 +02:00

Add `Settings::nixDaemonSocketFile'.

This commit is contained in:
Ludovic Courtès 2013-02-18 23:05:40 +01:00 committed by Eelco Dolstra
parent 5ea138dc4b
commit 3e067ac11c
5 changed files with 14 additions and 10 deletions

View file

@ -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));