ci/eval/compare/maintainers: Handle nonexistent attribute in changedByNameAttrPaths

This could happen if a new package was added in pkgs/by-name
This commit is contained in:
dramforever
2026-03-14 14:04:54 +08:00
parent befcd4f025
commit ce70a9e6b4
+2
View File
@@ -96,6 +96,8 @@ let
(lib.filter (path: lib.length path > 3))
(map (path: lib.elemAt path 3))
(map lib.singleton)
# Filter out new packages
(lib.filter (attrPath: lib.hasAttrByPath attrPath pkgs))
];
# An attribute can appear in affected *and* touched