![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <hook-instance.hh>
Public Member Functions | |
| HookInstance (const Strings &buildHook, std::chrono::milliseconds timeout) | |
Public Attributes | |
| Pipe | toHook |
| Pipe | fromHook |
| Pipe | builderOut |
| Pid | pid |
| FdSink | sink |
| std::map< ActivityId, Activity > | activities |
| std::function< void()> | onKillChild |
| std::function<void()> nix::HookInstance::onKillChild |
Callback to run when the hook process is killed in the destructor. Used to call Worker::childTerminated.
| Pid nix::HookInstance::pid |
The process ID of the hook.
| Pipe nix::HookInstance::toHook |
Pipes for talking to the build hook.