Cabal and fps merge into base-package

Simon Marlow simonmarhaskell at gmail.com
Thu May 4 04:57:31 EDT 2006


Bulat Ziganshin wrote:
> Hello Donald,
> 
> Thursday, May 4, 2006, 3:51:53 AM, you wrote:
> 
> 
>>>How is one supposed to handle fps being merged to the base package
>>>in a Cabal file? Clearly GHC 6.4 will need to depend on the fps
>>>package while with GHC 6.5 such a dependency is superfluous,
>>>and actually having fps installed will cause conflicts.
>>>
>>
>>I can't think of a native Cabal way to solve this though. We don't allow
>>__GLASGOW_HASKELL__ or such numbers inside .cabal files, or conditionals.
> 
> it will be great to provide such support inside Cabal, otherwise we will need
> separate installation for each compiler version

One extension I've been working on might be able to handle this.

   http://hackage.haskell.org/trac/hackage/ticket/27

you may recall there was a fairly long discussion on this a while back :-)

Cheers,
	Simon


More information about the Libraries mailing list