aboutsummaryrefslogtreecommitdiff
path: root/src/nix/make-content-addressable.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-04-19 23:07:06 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-04-19 23:07:06 +0200
commit0725ab2fd7d0d8b6606bb21fd00a2b0624bb7623 (patch)
treef79efe27e498ddb9cb29481572c93f35f44a2a14 /src/nix/make-content-addressable.cc
parent3738bcb05e7ed32a39fbd78cef45d1996e8fb484 (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/make-content-addressable.cc')
0 files changed, 0 insertions, 0 deletions