diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-04T14·21+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-04T14·21+0000 |
commit | 4740baf3a61c48c07f12f23927c84ca9892088a8 (patch) | |
tree | 1d854b07cd2f240600ea3ec4ee18311374eb5a1c /src/libstore/remote-store.hh | |
parent | f5f0cf423fda5e030d9be6fd6500a1b06d3a60bc (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.hh | 4 |
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(); }; |