Function nix_eval_state_builder_load

Source
pub unsafe extern "C" fn nix_eval_state_builder_load(
    context: *mut nix_c_context,
    builder: *mut nix_eval_state_builder,
) -> nix_err
Expand description

Read settings from the ambient environment Settings are sourced from environment variables and configuration files, as documented in the Nix manual.

§Arguments

  • context [out] - Optional, stores error information
  • builder [out] - The builder to modify.

§Returns

NIX_OK if successful, an error code otherwise.