store_drv_from_store_path

Function store_drv_from_store_path 

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

@brief Returns the derivation associated with the store path

@param[out] context Optional, stores error information @param[in] store The nix store @param[in] path The nix store path @return A new derivation, or NULL on error. Free with nix_derivation_free when done using the nix_derivation.