Hackage vs. legacy support in Cabal files

5 Mar
2010
5 Mar
'10
9:45 a.m.
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
5556
Age (days ago)
5556
Last active (days ago)
0 comments
1 participants
participants (1)
-
John D. Ramsdell