HEADS UP: Running cabal install with the latest GHC

Johan Tibell johan.tibell at gmail.com
Fri Aug 8 21:02:25 UTC 2014


I'm not again putting out another release, but I'd prefer to make it on top
of 1.20 if possible. Making a 1.22 release takes much more work (RC time,
etc). Which are the patches in question. Can they easily be cherry-picked
onto the 1.20 branch? Are there any risk of breakages?



On Fri, Aug 8, 2014 at 2:00 PM, Edward Z. Yang <ezyang at mit.edu> wrote:

> Hey all,
>
> SPJ pointed out to me today that if you try to run:
>
>     cabal install --with-ghc=/path/to/inplace/bin/ghc-stage2
>
> with the latest GHC HEAD, this probably will not actually work, because
> your system installed version of Cabal is probably too old to deal with
> the new package key stuff in HEAD.  So, how do you get a version
> of cabal-install (and Cabal) which is new enough to do what you need
> it to?
>
> The trick is to compile Cabal using your /old/ GHC. Step-by-step, this
> involves cd'ing into libraries/Cabal/Cabal and running `cabal install`
> (or install it in a sandbox, if you like) and then cd'ing to
> libraries/Cabal/cabal-install and cabal install'ing that.
>
> Cabal devs, is cutting a new release of Cabal and cabal-install in the
> near future possible? In that case, users can just cabal update; cabal
> install cabal-install and get a version of Cabal which will work for
> them.
>
> Cheers,
> Edward
> _______________________________________________
> cabal-devel mailing list
> cabal-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/cabal-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140808/6abdfc4f/attachment.html>


More information about the ghc-devs mailing list