Currently fails like this:
> ./maintainers/scripts/haskell/regenerate-transitive-broken-packages.sh
error: access to absolute path '/nix' is forbidden in restricted mode
This fixes the script:
-#! nix-shell -i bash -p coreutils jq nix -I nixpkgs=.
+#! nix-shell -i bash -p coreutils jq nixVersions.nix_2_24 -I nixpkgs=.
Unfortunately 2.25-2.27 have been removed, so they can't be tested easily.