[Nix-dev] Fwd: ghc-mod fail errors: bug: gmeioException

Carlo Nucera meditans at gmail.com
Mon Jan 19 17:20:46 CET 2015


Hi Alan,
I did a `cabal clean && cabal configure`, then a `cabal clean && cabal
configure && cabal build`, and just to be sure I reinstalled all my
haskell environment. The package gets installed in ghcWithPackages,
but I still have that error inside emacs with ghc-mod.

Is there anything else I could try?
Best regards
Carlo

2015-01-19 5:30 GMT+01:00 Alan & Kim Zimmerman <alan.zimm at gmail.com>:
> You need to cabal clean && cabal configure again in your project.
>
> The dist/config file is now binary, and you have a version mismatch
>
> Alan
>
> On 19 Jan 2015 01:35, "Carlo Nucera" <meditans at gmail.com> wrote:
>>
>> Hi all, I recently did a `nix-channel update` and a reinstall of my
>> programs, and now I have in emacs+ghc-mod this problem:
>>
>> Fail errors:
>>
>> BUG: GMEIOException /home/carlo/code/haskell/helios/dist/setup-config:
>> hGetContents: invalid argument (invalid byte sequence)
>>
>> After a brief search, it's probable that the issue is caused by the
>> new version of cabalInstall.
>> (see https://github.com/kazu-yamamoto/ghc-mod/issues/417)
>>
>> Anyone has had the same problem on nixOS?
>>
>> Best Regards
>> Carlo
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list