Describe the bug
Cabal packs the documentation generated by haddock with the tar package. tar keeps too many file descriptors open in some circumstance: see haskell/tar#100
We should wait for the fix and update our dependency. Or switch to another packing library.
To Reproduce
See https://gitlab.haskell.org/ghc/ghc/-/issues/25172
Expected behavior
Don't crash because of FD starvation
System information
- Linux with
ulimit -n 256
- GHC 9.12 and head