about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libstore/build.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 84fbf1c18dab..2bc167fee5ca 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -2921,6 +2921,7 @@ void DerivationGoal::registerOutputs()
                 if (settings.get("enforce-determinism", true))
                     throw NotDeterministic(msg);
                 printError(msg);
+                curRound = nrRounds; // we know enough, bail out early
             }
     }