forked from mirrors/nixpkgs
stdenv checkMeta: throw -> trace
- tracing seems annoying enough - we get errors for all packages instead of aborting on the first one - easier to differentiate from unwanted packages (broken, unfree, etc.)
This commit is contained in:
parent
76090f5dc3
commit
76bf375a16
|
@ -126,7 +126,7 @@ let
|
|||
'';
|
||||
|
||||
throwEvalHelp = { reason , errormsg ? "" }:
|
||||
throw (''
|
||||
(if reason != "unknown-meta" then throw else (x : builtins.trace x true)) (''
|
||||
Package ‘${attrs.name or "«name-missing»"}’ in ${pos_str} ${errormsg}, refusing to evaluate.
|
||||
|
||||
'' + ((builtins.getAttr reason remediation) attrs));
|
||||
|
|
Loading…
Reference in a new issue