On Wed, 2008-08-27 at 01:34 +0100, Neil Mitchell wrote: > Hi, > > The new version of Hoogle uses data-dir in the main section of the > Cabal file. http://code.haskell.org/hoogle/hoogle.cabal > > Uploading to hackage gives: > > 400 Error in upload > hoogle-4.0.0.5/hoogle.cabal: Unknown fields: data-dir (line 19) > Fields allowed in this section: > name, version, cabal-version, build-type, license, license-file, > copyright, maintainer, build-depends, stability, homepage, > package-url, synopsis, description, category, author, tested-with, > data-files, extra-source-files, extra-tmp-files > > But the documentation says: > http://haskell.org/cabal/release/latest/doc/users-guide/authors.html#general-fields > > Who is right? Who is wrong? If I'm wrong, what is the fix?
I think Cabal is right. Both 1.4 and HEAD parse hoogle.cabal without complaint. I suspect that the fix is to recompile the hackage scripts against a more recent Cabal version (ideally the latest stable 1.4.x release). Duncan _______________________________________________ cabal-devel mailing list [email protected] http://www.haskell.org/mailman/listinfo/cabal-devel
