d9e13ed064
GitOrigin-RevId: a930f7da84786807bb105df40e76b541604c3e72
10 lines
392 B
Nix
10 lines
392 B
Nix
# Nix script to calculate the Haskell dependencies of every haskellPackage. Used by ./hydra-report.hs.
|
|
let
|
|
pkgs = import ../../.. {};
|
|
inherit (pkgs) lib;
|
|
getDeps = _: pkg: {
|
|
deps = builtins.filter (x: !isNull x) (map (x: x.pname or null) (pkg.propagatedBuildInputs or []));
|
|
broken = (pkg.meta.hydraPlatforms or [null]) == [];
|
|
};
|
|
in
|
|
lib.mapAttrs getDeps pkgs.haskellPackages
|