about summary refs log tree commit diff
path: root/src/libstore/worker-protocol.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-12-04T14·21+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-12-04T14·21+0000
commit4740baf3a61c48c07f12f23927c84ca9892088a8 (patch)
tree1d854b07cd2f240600ea3ec4ee18311374eb5a1c /src/libstore/worker-protocol.hh
parentf5f0cf423fda5e030d9be6fd6500a1b06d3a60bc (diff)
* When NIX_REMOTE=daemon, connect to /nix/var/nix/daemon.socket
  instead of forking a worker.

Diffstat (limited to 'src/libstore/worker-protocol.hh')
-rw-r--r--src/libstore/worker-protocol.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstore/worker-protocol.hh b/src/libstore/worker-protocol.hh
index 284477483a56..8b1d4e15dbdc 100644
--- a/src/libstore/worker-protocol.hh
+++ b/src/libstore/worker-protocol.hh
@@ -28,4 +28,9 @@ typedef enum {
 #define STDERR_ERROR 0x63787470
 
 
+/* The default location of the daemon socket, relative to
+   nixStateDir. */
+#define DEFAULT_SOCKET_PATH "/daemon.socket"
+
+
 #endif /* !__WORKER_PROTOCOL_H */