about summary refs log tree commit diff
path: root/src/libstore/remote-store.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/remote-store.hh
parentf5f0cf423fda5e030d9be6fd6500a1b06d3a60bc (diff)
* When NIX_REMOTE=daemon, connect to /nix/var/nix/daemon.socket
  instead of forking a worker.

Diffstat (limited to 'src/libstore/remote-store.hh')
-rw-r--r--src/libstore/remote-store.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh
index a8e2f788e989..ad29305db76b 100644
--- a/src/libstore/remote-store.hh
+++ b/src/libstore/remote-store.hh
@@ -52,7 +52,7 @@ public:
     void syncWithGC();
     
 private:
-    AutoCloseFD fdSelf;
+    AutoCloseFD fdSocket;
     FdSink to;
     FdSource from;
     Pid child;
@@ -60,6 +60,8 @@ private:
     void processStderr();
 
     void forkSlave();
+    
+    void connectToDaemon();
 };