mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02:00
Merge pull request #11322 from NixOS/eval-cache-doc
doc: Manage expectations for eval-cache
This commit is contained in:
commit
1ff0a983d6
2 changed files with 7 additions and 1 deletions
|
@ -141,6 +141,8 @@ more than 2800 commits from 195 contributors since release 2.3.
|
||||||
the evaluation cache. This is made possible by the hermetic
|
the evaluation cache. This is made possible by the hermetic
|
||||||
evaluation model of flakes.
|
evaluation model of flakes.
|
||||||
|
|
||||||
|
Intermediate results are not cached.
|
||||||
|
|
||||||
* The new `--offline` flag disables substituters and causes all
|
* The new `--offline` flag disables substituters and causes all
|
||||||
locally cached tarballs and repositories to be considered
|
locally cached tarballs and repositories to be considered
|
||||||
up-to-date.
|
up-to-date.
|
||||||
|
|
|
@ -185,7 +185,11 @@ struct EvalSettings : Config
|
||||||
)"};
|
)"};
|
||||||
|
|
||||||
Setting<bool> useEvalCache{this, true, "eval-cache",
|
Setting<bool> useEvalCache{this, true, "eval-cache",
|
||||||
"Whether to use the flake evaluation cache."};
|
R"(
|
||||||
|
Whether to use the flake evaluation cache.
|
||||||
|
Certain commands won't have to evaluate when invoked for the second time with a particular version of a flake.
|
||||||
|
Intermediate results are not cached.
|
||||||
|
)"};
|
||||||
|
|
||||||
Setting<bool> ignoreExceptionsDuringTry{this, false, "ignore-try",
|
Setting<bool> ignoreExceptionsDuringTry{this, false, "ignore-try",
|
||||||
R"(
|
R"(
|
||||||
|
|
Loading…
Reference in a new issue