Compiling cabal with GHC HEAD
oleg.grenrus at iki.fi
Wed Aug 19 14:46:56 UTC 2015
I tried to fix compilation of Cabal using Cabal HEAD. It’s trivial patch:
but it breaks build on every other released GHC:
The original issue GHC-7.11 complained was:
Illegal instance declaration for
(All instance types must be of the form (T t1 ... tn)
where T is not a synonym.
Use TypeSynonymInstances if you want to disable this.)
In the instance declaration for
So I had to add TypeSynonymInstances and FlexibleInstances
And also had to change import of InstalledPackageInfo(exposed) in Haddock module.
At this point I’m really confused. I cannot find ‘InstalledPackageInfo_’ symbol anywhere. Can someone explain what happens?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the ghc-devs