[Haskell-cafe] Bug in GHC or cabal-install?

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Mon Jun 5 22:37:53 UTC 2017

On 6 June 2017 at 08:33, Ivan Lazar Miljenovic
<ivan.miljenovic at gmail.com> wrote:
> On 6 June 2017 at 07:55, Henk-Jan van Tuyl <b.vantuyl1 at upcmail.nl> wrote:
>> wxc/setup.hs uses versionBranch from Cabal[0]; the function versionBranch is
>> not in Cabal 2, that is why I added "Cabal < 2" to wxc.cabal. When
>> installing wxc the first time, the right version of Cabal is picked, when
>> "cabal install" is invoked a second time, GHC tries to compile wxc/setup.hs
>> again, but with the wrong version of Cabal (note: the release candidate of
>> GHC comes with Cabal 2)
>> [0]
>> https://hackage.haskell.org/package/Cabal-
> If you look at the source for this module, you'll see that it isn't
> defined in there; it's actually from Data.Version in base.

You can see this more specifically here:

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list