Skip to main content

build_output_path

Function build_output_path 

Source
pub fn build_output_path<'n>(
    name: &'n str,
    hash_derivation_modulo: &[u8; 32],
    output_name: &OutputName,
) -> Result<StorePathRef<'n>, ParseStorePathError>
Expand description

Builds an input-addressed store path.

Input-addresed store paths are always derivation outputs, the “input” in question is the derivation and its closure.