Commit ce70a9e6 authored by dramforever's avatar dramforever
Browse files

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

This could happen if a new package was added in pkgs/by-name
parent befcd4f0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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