Bail out early when non-determinism is detected

This commit is contained in:
Eelco Dolstra 2016-12-07 15:31:18 +01:00
parent cea4e2c618
commit dadfddfa7c
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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
}
}