From dadfddfa7cb5d523969bffd906b74099d6a88387 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 7 Dec 2016 15:31:18 +0100 Subject: [PATCH] Bail out early when non-determinism is detected --- src/libstore/build.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 84fbf1c18..2bc167fee 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 } }