rules_haskell
rules_haskell copied to clipboard
Remove custom `Cabal//:Cabal` library when Cabal >= 3.10 can be used in `rules_haskell` tests
The current version of Cabal has an issue causing the generated Paths_
files to miss the definition of splitFileName
and minusFileName
(See #1832).
A fix to cabal was merged (https://github.com/haskell/cabal/pull/8220) and is planned to be part of Cabal 3.10 release.
Hence temporarily, we rely on the fixed version distributed with Tweag's fork of Cabal (See the Cabal//:Cabal
library).
GHC 9.6.1 is the first version to ship with a fixed Cabal release. So, if we upgrade to that version we should remove the workaround again.