See also https://github.com/haskell/cabal/commit/fe7b597542d57c74814620ed7a553e252b570ac7 .