patch applied (cabal): cabal-upload: Removed build-simple since
hackage doesn' t seem to accept it for non-lib packages.
ross at soi.city.ac.uk
Thu Feb 8 10:45:53 EST 2007
On Tue, Feb 06, 2007 at 09:53:13PM +0000, Ian Lynagh wrote:
> On Tue, Feb 06, 2007 at 07:45:48AM -0800, bjorn at bringert.net wrote:
> > Tue Feb 6 05:36:16 PST 2007 bjorn at bringert.net
> > * cabal-upload: Removed build-simple since hackage doesn't seem to accept it for non-lib packages.
> Is that a hackage bug or feature?
I think it's a bug in the version of Cabal distributed with GHC 6.6
(which the HackageDB scripts are compiled with): unknown fields trigger
warnings, but are also treated an buildinfo fields. So they're accepted
if the package contains a library, but not otherwise. This was changed
in a Jan 14 2007 patch "Refactorings only" (sic): in the HEAD such fields
trigger a warning and nothing else. Of course a subsequent change has
made the field in question (Build-Type) a known field.
More information about the Cvs-libraries