[Nix-dev] Ghc-mod and the new cabal-1.22

Carlo Nucera meditans at gmail.com
Wed Jan 21 16:33:42 CET 2015


Also, it seems that ghc-mod in emacs got distinctively slower (it uses
now seconds to update the buffer after saving). Could this be
connected to the change? (I'll ask later to the ghc-mod guys if they
know about this problem, I'd just like to know if this happened to
anyone before).

2015-01-21 15:53 GMT+01:00 Carlo Nucera <meditans at gmail.com>:
> 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