Temporarily disable the eval cache

This commit is contained in:
Eelco Dolstra 2022-05-12 14:52:34 +02:00
parent 84c273c503
commit bc57bd2202
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -557,9 +557,12 @@ ref<eval_cache::EvalCache> openEvalCache(
{
auto fingerprint = lockedFlake->getFingerprint();
return make_ref<nix::eval_cache::EvalCache>(
#if 0
evalSettings.useEvalCache && evalSettings.pureEval
? std::optional { std::cref(fingerprint) }
: std::nullopt,
:
#endif
std::nullopt,
state,
[&state, lockedFlake]()
{