Skip to content
Daniel Gröber edited this page Jun 4, 2015 · 14 revisions

Known issues related to Cabal

Cabal-1.22 Related Runtime Errors when using ghc-mod < 5.3

dist/setup-config: hGetContents: invalid argument (invalid byte sequence)

Cabal-1.22 changed to a binary format for dist/setup-config which hGetContents doesn't like since it has to convert it to Unicode.


NG BUG: GMECabalFlags (GMEString "extractField: failed extracting configFlags from input, input contained `configFlags'? False")

This also seems to be related to the Cabal-1.22 breakage though I haven't been able to confirm this yet.


To fix these issue you currently have to downgrade Cabal to something before 1.22. See Inconsistent Cabal Versions with GHC < 7.10.

Known issues related to GHC 7.10 and ghc-mod < 5.3

The version of ghc-mod on Hackage (5.2.1.2) does not support GHC 7.10 please install ghc-mod from git until a new version is released.

Related issue: https://github.com/kazu-yamamoto/ghc-mod/issues/437

Known issues when using ghc-mod from git master

Case splitting does not work with GHC 7.10 even when using ghc-mod from master. There is a potential workaround but the issue needs more investigation into what changes in GHC's API lead to this issue.

Related issue: https://github.com/kazu-yamamoto/ghc-mod/issues/438

Clone this wiki locally