pub unsafe extern "C" fn nix_state_create(
context: *mut nix_c_context,
lookupPath: *mut *const c_char,
store: *mut Store,
) -> *mut EvalStateExpand description
Create a new Nix language evaluator state @ingroup libexpr_init For more control, use nix_eval_state_builder
§Arguments
context[out] - Optional, stores error informationlookupPath[in] - Null-terminated array of strings corresponding to entries in NIX_PATH.store[in] - The Nix store to use.
§Returns
A new Nix state or NULL on failure. Call nix_state_free() when you’re done.
§See also
[
nix_state_builder_new]