Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
487 B · 17 lines
Nix
123456789101112131415161718# Nix script to calculate the Haskell dependencies of every haskellPackage. Used by ./hydra-report.hs.let pkgs = import ../../.. { }; inherit (pkgs) lib; 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 ]) == [ ]; };inlib.mapAttrs getDeps pkgs.haskellPackages