forked from the-distro/ofborg
Merge pull request #238 from NixOS/abort-on-broken-outputs
outpaths: abort on broken-outputs too
This commit is contained in:
commit
6c5394df38
|
@ -19,7 +19,11 @@ let
|
||||||
checkMeta = checkMeta;
|
checkMeta = checkMeta;
|
||||||
|
|
||||||
handleEvalIssue = reason: errormsg:
|
handleEvalIssue = reason: errormsg:
|
||||||
if reason == "unknown-meta"
|
let
|
||||||
|
fatalErrors = [
|
||||||
|
"unknown-meta" "broken-outputs"
|
||||||
|
];
|
||||||
|
in if builtins.elem reason fatalErrors
|
||||||
then abort errormsg
|
then abort errormsg
|
||||||
else true;
|
else true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue