
1 Jul
2009
1 Jul
'09
8:24 a.m.
Erik de Castro Lopo wrote:
I actually did try finalizePackageDescription before flattenPackageDescription but I couldn't get it to typecheck.
Thanks to Peaker and Saizan on IRC helped me fix it: finalize :: GenericPackageDescription -> PackageDescription finalize generic = either (error . show) fst r where compiler = DC.CompilerId DC.GHC (Version [6, 10, 3] []) flags = [(FlagName "splitBase", True)] packageIndex = Nothing :: Maybe (PackageIndex PackageIdentifier) r = finalizePackageDescription flags packageIndex DS.Linux DS.I386 compiler [] generic Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/