mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 03:09:35 +01:00
* Open the connection to the daemon lazily (on demand) so that
read-only operations (like nix-env -qa) work properly when the daemon isn't running.
This commit is contained in:
parent
a0766eca27
commit
07cdfb09fb
3 changed files with 38 additions and 6 deletions
|
|
@ -74,6 +74,9 @@ private:
|
|||
FdSource from;
|
||||
Pid child;
|
||||
unsigned int daemonVersion;
|
||||
bool initialised;
|
||||
|
||||
void openConnection();
|
||||
|
||||
void processStderr(Sink * sink = 0, Source * source = 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue