From dadfddfa7cb5d523969bffd906b74099d6a88387 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 7 Dec 2016 15:31:18 +0100 Subject: Bail out early when non-determinism is detected --- src/libstore/build.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstore/build.cc') 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 } } -- cgit 1.4.1