In Setup you have:
["module Version where"
,"builddeps, version, context :: String"
,"version = \"" ++ version ++ " (" ++ state ++ ")\""
,"builddeps = " ++ show ( formatdeps (externalPackageDeps lbi))
,"context = " ++ case ctx of
Just x -> show x
Nothing -> show "context not available"
The use of `externalPackageDeps` here is bad juju. It is the deps for ALL
components, including the test suite. I doubt you want to build Darcs with the test
suite dependencies in build deps.
If it's just library deps you care about here (which is probably the case), you can
use `getComponentLocalBuildInfo` to grab the `CLibName` component, and then read
the deps off that.
|