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 <[email protected]>: > 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" <[email protected]> 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 >> [email protected] >> http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
