From bc57bd2202fa535007dbba8e8540fc08186129de Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 12 May 2022 14:52:34 +0200 Subject: [PATCH] Temporarily disable the eval cache --- src/libcmd/installables.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libcmd/installables.cc b/src/libcmd/installables.cc index e8a223add..acd3fbfee 100644 --- a/src/libcmd/installables.cc +++ b/src/libcmd/installables.cc @@ -557,9 +557,12 @@ ref openEvalCache( { auto fingerprint = lockedFlake->getFingerprint(); return make_ref( + #if 0 evalSettings.useEvalCache && evalSettings.pureEval ? std::optional { std::cref(fingerprint) } - : std::nullopt, + : + #endif + std::nullopt, state, [&state, lockedFlake]() {