Skip to main content

nix_add_derivation

Function nix_add_derivation 

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

Add the given nix_derivation to the given store

ยงArguments

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