Skip to main content

RealizeFn

Type Alias RealizeFn 

Source
pub type RealizeFn = dyn Fn(&str, &str) -> Result<(), String>;
Expand description

The realize callback: given a derivation’s .drv path and its expected output store path, materialize that output on disk (substitute or build the closure) and return Ok(()) once the output path exists. On failure returns a human-readable error string (surfaced as an eval IoError).