mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 03:09:35 +01:00
* When NIX_REMOTE=daemon, connect to /nix/var/nix/daemon.socket
instead of forking a worker.
This commit is contained in:
parent
f5f0cf423f
commit
4740baf3a6
3 changed files with 37 additions and 8 deletions
|
|
@ -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();
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue