add_derivation

Function add_derivation 

Source
pub unsafe extern "C" fn add_derivation(
    context: *mut c_context,
    store: *mut Store,
    derivation: *mut derivation,
) -> *mut StorePath
Expand description

@brief Add the given nix_derivation to the given store

@param[out] context Optional, stores error information. @param[in] store nix store reference. The derivation will be inserted here. @param[in] derivation nix_derivation to insert into the given store.