maintainers/scripts/haskell: ignore self-dependencies
These create trivial loops in the dependency graph, which make the transitive closure computation loop.
This commit is contained in:
parent
3e9cb94ffa
commit
afb843b80f
1 changed files with 4 additions and 2 deletions
|
@ -2,8 +2,10 @@
|
|||
let
|
||||
pkgs = import ../../.. {};
|
||||
inherit (pkgs) lib;
|
||||
getDeps = _: pkg: {
|
||||
deps = builtins.filter (x: x != null) (map (x: x.pname or null) (pkg.propagatedBuildInputs or []));
|
||||
getDeps = _: pkg: let
|
||||
pname = pkg.pname or null;
|
||||
in {
|
||||
deps = builtins.filter (x: x != null && x != pname) (map (x: x.pname or null) (pkg.propagatedBuildInputs or []));
|
||||
broken = (pkg.meta.hydraPlatforms or [null]) == [];
|
||||
};
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue