diff options
author | Alexander Bantyev | 2021-02-06 01:34:01 +0300 |
---|---|---|
committer | Alexander Bantyev | 2021-02-06 02:48:57 +0300 |
commit | 80ab1d753818752405acb8d4d3f3dc11ef83f5a9 (patch) | |
tree | c39ff0dd5b6a093d969a4946c80142d82991776a /Cargo.lock | |
parent | c00e29a39df47c8cdba8c4bb43868a27f32df3b8 (diff) |
Evaluate deploy output lazily
Currently, we evaluate the `#deploy` output strictly. This means
- Longer eval times
- Extraneous evaluation errors with `--skip-checks`
- `-- --impure` even when the path we're currently deploying is pure
- etc.
With this change, evaluation happens lazily -- we only evaluate the nodes
and profiles we really need. It is only implemented for flaky Nix, and
it is on by default. To get the old behavior, one can specify
`--strict-eval`.
I have tested that this indeed dramatically increases evaluation speed
in all of our repos, and removes the need to deploy Agora with
`--impure`. Hooray!
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions