
1 Jun
2009
1 Jun
'09
8:57 p.m.
On Mon, 2009-06-01 at 12:21 +0100, Simon Marlow wrote:
Details -------
In the installed package description, we will allow paths that begin with the variables ${pkgroot} or ${pkgrooturl}. For example:
library-dirs: ${pkgroot}/foo-1.0 haddock-html: ${pkgrooturl}/doc/foo-1.0
Seems fine to me. So basically this just replaces GHC's undocumented $topdir feature?
Yep, more or less. Any suggestion on the vague part of the spec about how tools discover the ${pkgroot} for the global package db(s)? I think we probably want to extend hc-pkg dump to cover this. Duncan