Hackage complains about data-dir

Neil Mitchell ndmitchell at gmail.com
Tue Aug 26 20:34:50 EDT 2008


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?

Thanks

Neil



More information about the cabal-devel mailing list