Closed skatenerd closed 8 years ago
On an empty project I get
Cabal error: '/usr/bin/ghc-pkg' exited with an error:
ghc-pkg: too few bytes. Failed reading at byte position 2289
hdevtools
was invoking systemwide GHC, which was different from the version hdevtools
was compiled against.
I'm using Stack with GHC 7.10.2 on Ubuntu. I acquired
hdevtools
viastack install hdevtools
.When I run
hdevtools check src/Main.hs
, I get the following error, which appears to be coming fromCabal.hs
:Has anyone seen this before?
We are invoking
ghc-pkg
, but I am not able to figure out which subcommand we are giving toghc-pkg
, so it's hard to determine whyghc-pkg
is blowing up. Is there anything related toghc-pkg
or tocabal
that I can purge to make this go more smoothly?Thanks :-)