ci/eval/compare: remove package validity check

This should not be necessary anymore, because packages that fail to
evaluate should already be filtered out by the attrpath generation step
in main eval.

(cherry picked from commit 0753aa4580)
This commit is contained in:
Wolfgang Walther
2025-08-30 15:31:12 +02:00
committed by github-actions[bot]
parent 7dd8ed0a70
commit f6634a6670

View File

@@ -27,25 +27,9 @@ let
name = name;
}) (changedattrs ++ removedattrs);
validPackageAttributes = builtins.filter (
pkg:
if (lib.attrsets.hasAttrByPath pkg.path pkgs) then
(
let
value = lib.attrsets.attrByPath pkg.path null pkgs;
in
if (builtins.tryEval value).success then
if value != null then true else builtins.trace "${pkg.name} exists but is null" false
else
builtins.trace "Failed to access ${pkg.name} even though it exists" false
)
else
builtins.trace "Failed to locate ${pkg.name}." false
) enrichedAttrs;
attrsWithPackages = builtins.map (
pkg: pkg // { package = lib.attrsets.attrByPath pkg.path null pkgs; }
) validPackageAttributes;
) enrichedAttrs;
attrsWithMaintainers = builtins.map (
pkg: