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.
main
sternenseemann 3 years ago committed by sterni
parent 78c71274a3
commit 65de104e6c
  1. 5
      maintainers/scripts/haskell/test-configurations.nix

@ -98,7 +98,10 @@ let
# overlays. For common, nix, darwin etc. only the derivation from the default
# package set will be emitted.
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:
let

Loading…
Cancel
Save