pub unsafe extern "C" fn nix_flake_lock_flags_add_input_override(
context: *mut nix_c_context,
flags: *mut nix_flake_lock_flags,
inputPath: *const c_char,
flakeRef: *mut nix_flake_reference,
) -> nix_errExpand description
Add input overrides to the lock flags
§Arguments
context[out] - Optional, stores error informationflags[in] - The flags to modifyinputPath[in] - The input path to override (must not be empty)flakeRef[in] - The flake reference to use as the override
§Returns
NIX_ERR_NIX_ERROR if inputPath is empty
This switches the flags to nix_flake_lock_flags_set_mode_virtual if
not in mode nix_flake_lock_flags_set_mode_check.