[Haskell-cafe] Supporting GHC 6.10 and 6.12 in HDBC-postgresql
jgoerzen at complete.org
Tue Jan 26 10:29:50 EST 2010
I've gotten some reports (see below) of issues with building
HDBC-postgresql on GHC 6.12. Its Setup.hs file  is the culprit. The
problem is that AnyVersion needs to be removed to work with Cabal in GHC
But I still want to support older Cabal.
Following the directions in the Cabal manual, I tried:
pgconfigProgram (withPrograms lbi)
pgconfigProgram AnyVersion (withPrograms lbi)
While of course adding the needed bits to invoke CPP. This didn't
resolve it; apparently Cabal doesn't define macros for use in Setup.hs,
only for use in the application.
There also seems to be no conditional for use in the .cabal file to
I could check the GHC version, but that doesn't necessarily correspond
to Cabal version.
-------------- next part --------------
An embedded message was scrubbed...
From: Jake Wheat <jake.wheat at ntlworld.com>
Subject: HDBC-postgresql build failure on hackage
Date: Tue, 26 Jan 2010 14:27:22 +0000
More information about the Haskell-Cafe