aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nix/installables.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc
index 86d3bfd20..f471319be 100644
--- a/src/nix/installables.cc
+++ b/src/nix/installables.cc
@@ -383,7 +383,7 @@ ref<eval_cache::EvalCache> openEvalCache(
bool useEvalCache)
{
return ref(std::make_shared<nix::eval_cache::EvalCache>(
- useEvalCache,
+ useEvalCache && evalSettings.pureEval,
lockedFlake->getFingerprint(),
state,
[&state, lockedFlake]()