atom-haskell-archive / haskell-ghc-mod

haskell-ghc-mod atom package
https://atom.io/packages/haskell-ghc-mod
MIT License
69 stars 20 forks source link

ghc-mod fails (invalid byte sequence) #35

Closed JustusAdam closed 8 years ago

JustusAdam commented 9 years ago
Haskell-ghc-mod: ghc-mod failed with error code 1 
/Users/justusadam/projects/Haskell/vocab-trainer/dist/setup-config: hGetContents: invalid argument (invalid byte sequence)

ghc-mod version 5.2.1.2

ghc version 7.8.4

lierdakil commented 9 years ago

Please see https://github.com/atom-haskell/ide-haskell/issues/31

lierdakil commented 9 years ago

TL;DR: ghc-mod on Hackage doesn't work with cabal-1.22. Downgrade cabal, or build ghc-mod from repo. See https://github.com/atom-haskell/haskell-ghc-mod/issues/18 for information on ghc-mod-master support.

JustusAdam commented 8 years ago

fixed by newer version of ghc-mod.