pub unsafe extern "C" fn store_realise(
context: *mut c_context,
store: *mut Store,
path: *mut StorePath,
userdata: *mut c_void,
callback: Option<unsafe extern "C" fn(userdata: *mut c_void, outname: *const c_char, out: *const StorePath)>,
) -> errExpand description
@brief Realise a Nix store path
Blocking, calls callback once for each realised output.
@note When working with expressions, consider using e.g. nix_string_realise to get the output. .drvPath may not be
accurate or available in the future. See https://github.com/NixOS/nix/issues/6507
@param[out] context Optional, stores error information @param[in] store Nix Store reference @param[in] path Path to build @param[in] userdata data to pass to every callback invocation @param[in] callback called for every realised output @return NIX_OK if the build succeeded, or an error code if the build/scheduling/outputs/copying/etc failed. On error, the callback is never invoked and error information is stored in context.