[Haskell-cafe] Cabal install fails due to recent HUnit
Erik Hesselink
hesselink at gmail.com
Mon Jul 23 21:17:48 CEST 2012
On Monday, July 23, 2012, Simon Hengel wrote:
>
> 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.
I use
tar f 00-index.tar --delete Hunit/1.2.5.0/Hunit.cabal
Works with GNU tar, not with BSD/mac.
Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120723/142d5bc3/attachment.htm>
More information about the Haskell-Cafe
mailing list