rules_haskell icon indicating copy to clipboard operation
rules_haskell copied to clipboard

Remove custom `Cabal//:Cabal` library when Cabal >= 3.10 can be used in `rules_haskell` tests

Open ylecornec opened this issue 2 years ago • 1 comments

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).

ylecornec avatar Feb 27 '23 09:02 ylecornec

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.

avdv avatar May 19 '23 12:05 avdv