2021-09-09 23:55:12 +01:00
|
|
|
# Nix script to calculate the Haskell dependencies of every haskellPackage. Used by ./hydra-report.hs.
|
|
|
|
let
|
|
|
|
pkgs = import ../../.. {};
|
|
|
|
inherit (pkgs) lib;
|
|
|
|
getDeps = _: pkg: {
|
2023-03-05 21:08:45 +00:00
|
|
|
deps = builtins.filter (x: x != null) (map (x: x.pname or null) (pkg.propagatedBuildInputs or []));
|
2021-09-09 23:55:12 +01:00
|
|
|
broken = (pkg.meta.hydraPlatforms or [null]) == [];
|
|
|
|
};
|
|
|
|
in
|
|
|
|
lib.mapAttrs getDeps pkgs.haskellPackages
|