pub struct NixBuildTask {
pub host: String,
}Expand description
Build the system closure for a single host.
Reads: eval:{host} → toplevel path (to verify eval completed)
Reads state: machines_file → Option<String> (path to machines file for distributed builds)
Writes output: build:{host} → String (built store path)
Fields§
§host: StringImplementations§
Trait Implementations§
Source§impl DagTask for NixBuildTask
impl DagTask for NixBuildTask
Source§fn execute(&self, ctx: &DagContext) -> TaskOutcome
fn execute(&self, ctx: &DagContext) -> TaskOutcome
Execute this task.
Source§fn resource_tag(&self) -> Option<&str>
fn resource_tag(&self) -> Option<&str>
Optional resource tag for worker pool slot management.
Tasks with a resource tag require a matching slot in the pool.
Auto Trait Implementations§
impl Freeze for NixBuildTask
impl RefUnwindSafe for NixBuildTask
impl Send for NixBuildTask
impl Sync for NixBuildTask
impl Unpin for NixBuildTask
impl UnsafeUnpin for NixBuildTask
impl UnwindSafe for NixBuildTask
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more