lol

maintainers/scripts/haskell: ignore self-dependencies

These create trivial loops in the dependency graph, which make the
transitive closure computation loop.

+4 -2
+4 -2
maintainers/scripts/haskell/dependencies.nix
··· 2 2 let 3 3 pkgs = import ../../.. {}; 4 4 inherit (pkgs) lib; 5 - getDeps = _: pkg: { 6 - deps = builtins.filter (x: x != null) (map (x: x.pname or null) (pkg.propagatedBuildInputs or [])); 5 + getDeps = _: pkg: let 6 + pname = pkg.pname or null; 7 + in { 8 + deps = builtins.filter (x: x != null && x != pname) (map (x: x.pname or null) (pkg.propagatedBuildInputs or [])); 7 9 broken = (pkg.meta.hydraPlatforms or [null]) == []; 8 10 }; 9 11 in