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. |
||
|---|---|---|
| .. | ||
| .version | ||
| meson.build | ||
| meson.options | ||
| nix-meson-build-support | ||
| nix_api_util.cc | ||
| nix_api_util.h | ||
| nix_api_util_internal.h | ||
| package.nix | ||