[Haskell-cafe] Cabal install fails due to recent HUnit

Simon Hengel sol at typeful.net
Mon Jul 23 20:24:44 CEST 2012


On Mon, Jul 23, 2012 at 12:51:32PM -0500, Stephen Paul Weber wrote:
> > Currently you would have to do the upgrade manually, as `cabal-install
> > cabal-install` won't work (or alternatively edit your local
> > ~/.cabl/packages/hackage.haskell.org/00-index.tar).
> 
> Pending a fix on hackage (hopefully) I've been using `cabal copy && cabal 
> register` to grab specific packages today.
> 
> How would I go about fixing my 00-index.tar?  I tride de-tarring, deleting 
> the recent versions of HUnit, and re-tarring, and when I copy that file in 
> cabal starts telling me no packages exist...?

E.g. with vim, you can edit files in the tar file (in-place).  That is
what I did, and it worked fine.

Cheers,
Simon



More information about the Haskell-Cafe mailing list