forked from lix-project/lix
Bail out early when non-determinism is detected
This commit is contained in:
parent
cea4e2c618
commit
dadfddfa7c
|
@ -2921,6 +2921,7 @@ void DerivationGoal::registerOutputs()
|
||||||
if (settings.get("enforce-determinism", true))
|
if (settings.get("enforce-determinism", true))
|
||||||
throw NotDeterministic(msg);
|
throw NotDeterministic(msg);
|
||||||
printError(msg);
|
printError(msg);
|
||||||
|
curRound = nrRounds; // we know enough, bail out early
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue