[Haskell-cafe] package maintainers: updating your packages to
work with GHC 6.8.1
duncan.coutts at worc.ox.ac.uk
Mon Nov 5 06:35:11 EST 2007
On Mon, 2007-11-05 at 03:12 +0000, Duncan Coutts wrote:
> If you maintain a Haskell package this is for you.
> flag splitBase
> description: Choose the new smaller, split-up base package.
> if flag(splitBase)
> build-depends: base >= 3, containers
> build-depends: base < 3
By the way, if you have several common deps it's perfectly ok to factor
them out like this:
Description: Choose the new smaller, split-up base package.
Build-Depends: network, HTTP, HTTP-Simple, MissingH, time>=1.1.1
Build-Depends: base >= 3, containers
Build-Depends: base < 3
In a future version of Cabal we might have this nicer syntax:
Build-Depends: base, network, HTTP ,HTTP-Simple, MissingH, time>=1.1.1
if package(base >= 3)
More information about the Haskell-Cafe