about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2016-12-07T14·31+0100
committerEelco Dolstra <edolstra@gmail.com>2016-12-07T14·31+0100
commitdadfddfa7cb5d523969bffd906b74099d6a88387 (patch)
tree21c01e8e7603efbc211206f94f846acc91b7dfb5 /src/libstore
parentcea4e2c618fcf0111da2dcacc023d2a7a32ee15b (diff)
Bail out early when non-determinism is detected
Diffstat (limited to 'src/libstore')
-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
             }
     }