how to force hackage to use ghc 6.12.3

Hi,
I have been releasing packages on hackage that do not build with ghc 7.0.* due
to a bug that will be fixed in ghc 7.2.1. (One of the packages is
http://hackage.haskell.org/package/AERN-Basics)
I was hoping hackage will try also ghc 6.12.3 but it does not. Is there some
way I can change the cabal file to help hackage to compile it with 6.12.3 and
generate haddock? The package requires base >= 4 so I cannot try base < 4.
Michal
--
|-| Dr. Michal Konecny, Computer Science, Aston University
|-| Room MB212D | Tel +44 121 204 3462 | Fax +44 121 204 3681
|-| http://www.aston.ac.uk/~konecnym
|-| OpenPGP key http://www.aston.ac.uk/~konecnym/ki.aston
--
|o| Michal Konecny

On Monday 09 May 2011 08:54:49, Michal Konečný wrote:
I was hoping hackage will try also ghc 6.12.3 but it does not. Is there some way I can change the cabal file to help hackage to compile it with 6.12.3 and generate haddock? The package requires base >= 4 so I cannot try base < 4.
base >= 4 && < 4.3 should do it

On Mon, May 09, 2011 at 11:38:47AM +0200, Daniel Fischer wrote:
On Monday 09 May 2011 08:54:49, Michal Konečný wrote:
I was hoping hackage will try also ghc 6.12.3 but it does not. Is there some way I can change the cabal file to help hackage to compile it with 6.12.3 and generate haddock? The package requires base >= 4 so I cannot try base < 4.
base >= 4 && < 4.3
should do it
That will stop users from building it with ghc 7.0, but I'm afraid the build client only uses the latest version, so these won't be fixed until ghc 7.2 is released.

On Monday 09 May 2011 12:09:22 Ross Paterson wrote:
That will stop users from building it with ghc 7.0, but I'm afraid the build client only uses the latest version, so these won't be fixed until ghc 7.2 is released.
Daniel, Ross,
Thank you for your help. I decided to add base < 4.3 to stop users trying to
compile it with ghc 7.* and provided links to haddock documentation hosted
elsewhere for the time being.
Michal
--
|o| Michal Konecny
participants (3)
-
Daniel Fischer
-
Michal Konečný
-
Ross Paterson