Skip to content

Commit

Permalink
Bail out early when non-determinism is detected
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Dec 7, 2016
1 parent cea4e2c commit dadfddf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libstore/build.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit dadfddf

Please sign in to comment.