[Nix-dev] Ghc-mod and the new cabal-1.22
Carlo Nucera
meditans at gmail.com
Wed Jan 21 15:53:02 CET 2015
Wow, I didn't know it was a possibility, thanks! In that way,
however, I lose the possibility to do `cabal repl` or `cabal build`
because of
> cabal repl
cabal: You need to re-run the 'configure' command. The version of
Cabal being used has changed (was Cabal-1.18.1.5, now Cabal-1.22.0.0).
I tried:
> cabal repl --cabal-lib-version=1.18.1.5
cabal: unrecognized 'repl' option `--cabal-lib-version=1.18.1.5'
Is there a way to fix that, too?
Best regards
Carlo
2015-01-20 16:59 GMT+01:00 Peter Simons <simons at cryp.to>:
> Hi Carlo,
>
> > It seems that ghc-mod can work with cabal-1.22 only if we have
> > ghc-7.10.
> >
> > https://github.com/kazu-yamamoto/ghc-mod/issues/417
> > https://github.com/kazu-yamamoto/ghc-mod/issues/429
> >
> > So I decided to lookup for possible solution.
>
> how about "cabal configure --cabal-lib-version=1.18.1.5"? That should
> work fine with GHC 7.8.4.
>
> Best regards,
> Peter
>
> _______________________________________________
> 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