mirror of
https://github.com/NixOS/nix.git
synced 2025-12-01 14:41:00 +01:00
This provides an explicit API for call-fail-retry-succeed evaluation flows, such as currently used in NixOps4. An alternative design would simply reset the `Value` to the original thunk instead of `tFailed` under the condition of catching a `RecoverableEvalError`. That is somewhat simpler, but I believe the presence of `tFailed` is beneficial for possible use in the repl; being able to show the error sooner, without re-evaluation. The hasPos method and isEmpty function are required in order to avoid an include loop. |
||
|---|---|---|
| .. | ||
| data | ||
| pch | ||
| value | ||
| .version | ||
| derived-path.cc | ||
| error_traces.cc | ||
| eval.cc | ||
| json.cc | ||
| main.cc | ||
| meson.build | ||
| nix-meson-build-support | ||
| nix_api_expr.cc | ||
| nix_api_external.cc | ||
| nix_api_value.cc | ||
| nix_api_value_internal.cc | ||
| package.nix | ||
| primops.cc | ||
| search-path.cc | ||
| trivial.cc | ||