[Haskell-cafe] cabal install ghc-mod installs 3 years old version

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Sun Feb 24 23:06:39 CET 2013


On 25 February 2013 01:33, Niklas Hambüchen <mail at nh2.me> wrote:
> You are right, my "ghc-7.4.2" was broken in ghc-pkg list; I fixed the
> problem by killing my .cabal folder (as so often).
>
> Do you know if it is possible to make ghc-pkg list print some actual
> text when packages are broken instead of writing them in red (which goes
> away on output redirection)?

Just run "ghc-pkg check" every now and then?

>
> Thanks
> Niklas
>
> On 24/02/13 07:34, Ivan Lazar Miljenovic wrote:
>>
>> Which version of GHC (and hence base, etc.)? My guess is that for some
>> reason it thinks that some requirement of the later versions is
>> incompatible with your version of GHC.
>>
>> Maybe explicitly try " cabal install 'ghc-mod >= 1.11.4' " and see why
>> it doesn't like it.



-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com



More information about the Haskell-Cafe mailing list