diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2016-12-07T14·31+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2016-12-07T14·31+0100 |
commit | dadfddfa7cb5d523969bffd906b74099d6a88387 (patch) | |
tree | 21c01e8e7603efbc211206f94f846acc91b7dfb5 | |
parent | cea4e2c618fcf0111da2dcacc023d2a7a32ee15b (diff) |
Bail out early when non-determinism is detected
-rw-r--r-- | src/libstore/build.cc | 1 |
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 } } |