Merge pull request #238 from NixOS/abort-on-broken-outputs

outpaths: abort on broken-outputs too
This commit is contained in:
Graham Christensen 2018-09-18 10:27:52 -04:00 committed by GitHub
commit 6c5394df38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,11 @@ let
checkMeta = checkMeta;
handleEvalIssue = reason: errormsg:
if reason == "unknown-meta"
let
fatalErrors = [
"unknown-meta" "broken-outputs"
];
in if builtins.elem reason fatalErrors
then abort errormsg
else true;