mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user