[Haskell-cafe] Re: Re: Re: cabal-install

Ben Franksen ben.franksen at online.de
Fri Nov 30 23:06:31 EST 2007


Duncan Coutts wrote:
>> Apropos beta-testing, cabal-1.3 seems to have introduced an incompatible
>> API change; for instance, it can't build MissingH any longer.
> 
> Actually it was 1.2.x that made this change.

Ok. I realized it wasn't 1.3 as I remarked later:

>> One install of cabal-install later: same error with MissingH. So the
>> package was broken to begin with an it wasn't related to the cabal
>> upgrade! Grrrr.
> 
> Yup. It's not been updated to work with ghc 6.8 and related libs.

I tried this (as everything else in this thread) with ghc-6.6.1. It seems to
me that MissingH-0.18.6 only builds with an earlier version of Cabal.

>> Unpacking MissingH and looking at the Setup.hs I see that I can simply
>> replace it by a generic version, add unix dependency to the cabal file,
>> and all works well. So much for "never again runhaskell Setup blabla" ;-)
> 
> I expect it can use configurations to add the unix package dependency
> conditionally and not need a custom Setup.hs file at all.

That would be nice.

>> (I should add that for many packages cabal-install works perfectly well.)
>> 
>> Thanks again for your help!
>> 
>> Cheers
>> Ben
>> PS: a 'cabal remove' would also be nice to have.
> 
> http://hackage.haskell.org/trac/hackage/ticket/106

+1 from my side.

Cheers
Ben



More information about the Haskell-Cafe mailing list