diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-04-19 23:07:06 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-04-19 23:07:06 +0200 |
commit | 0725ab2fd7d0d8b6606bb21fd00a2b0624bb7623 (patch) | |
tree | f79efe27e498ddb9cb29481572c93f35f44a2a14 /src/nix/installables.cc | |
parent | 3738bcb05e7ed32a39fbd78cef45d1996e8fb484 (diff) |
Store more stuff in the evaluation cache
In particular, we store whether an attribute failed to evaluate (threw
an exception) or was an unsupported type. This is to ensure that a
repeated 'nix flake show' never has to evaluate anything, so it can
execute without fetching the flake.
With this, 'nix flake show nixpkgs/nixos-20.03 --legacy' executes in
0.6s (was 3.4s).
Diffstat (limited to 'src/nix/installables.cc')
0 files changed, 0 insertions, 0 deletions