diff --git a/src/libstore/build.cc b/src/libstore/build.cc index c8107c7e8..49042649e 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1547,6 +1547,7 @@ void DerivationGoal::tryToBuild() omitted, but that would be less efficient.) Note that since we now hold the locks on the output paths, no other process can build this derivation, so no further checks are necessary. */ + checkPathValidity(); bool allValid = true; for (auto & [_, status] : initialOutputs) { if (!status.wanted) continue;