pkgs.haskell.lib.getBuildInputs
Get all of the build inputs of a haskell package, divided by category.