maintainers/scripts/test-configuration.nix: warn about broken pkgs
The warnings help when removing the broken flags when all packages turn out to build and could also be helpful when investigating failures.
This commit is contained in:
parent
78c71274a3
commit
65de104e6c
|
@ -98,7 +98,10 @@ let
|
||||||
# overlays. For common, nix, darwin etc. only the derivation from the default
|
# overlays. For common, nix, darwin etc. only the derivation from the default
|
||||||
# package set will be emitted.
|
# package set will be emitted.
|
||||||
packages = builtins.filter (v:
|
packages = builtins.filter (v:
|
||||||
v != null && (skipEvalErrors -> (builtins.tryEval (v.outPath or v)).success)
|
lib.warnIf (v.meta.broken or false) "${v.pname} is marked as broken" (
|
||||||
|
v != null
|
||||||
|
&& (skipEvalErrors -> (builtins.tryEval (v.outPath or v)).success)
|
||||||
|
)
|
||||||
) (
|
) (
|
||||||
lib.concatMap (fileName:
|
lib.concatMap (fileName:
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in a new issue