[Haskell-cafe] Hackage checks

Andrea Rossato mailing_list at istitutocolli.org
Sat Sep 13 14:36:47 EDT 2008


the Hackage upload script performs some checks on the packages being
uploaded. In my case, a library, I need to use the cabal generated
Paths_package file to access some locale data stored in a data file

This requires to include in "hs-source-dirs" "dist/build/autogen",
which doesn't exist in the source tree, since it's generated by cabal
in the build process (the inclusion is made necessary by a bug in
Cabal-1.2 which doesn't automatically search dist/build/autogen, see

And so Hackage complains: I needed to manually include such an empty
directory in the source code archive.

Any way out?


[1] http://www.haskell.org/pipermail/libraries/2008-July/010078.html

More information about the Haskell-Cafe mailing list