I'd like to support Hackage and GHC 6.8 with one source distribution.
The enclosed Cabal file would do the trick if Hackage would simply
evaluate the Cabal file using the default flag values.  Instead, it
chokes on a hack required to support GHC 6.8.  The directory
containing the autogen files has to be on the source path.

  if flag(old)
    Hs-Source-Dirs:     src dist/build/autogen
  else
    Hs-Source-Dirs:     src

Is there a way to force Hackage to respect flag values?

John

Attachment: cpsa.cabal
Description: Binary data

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to