mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
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 New Issue
Block a user