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:
Vladimír Čunát
2017-12-05 15:15:43 +01:00
committed by Graham Christensen
parent 76090f5dc3
commit 76bf375a16

View File

@@ -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));