draft proposal for relative paths in installed package descriptions

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Mon Jun 1 16:57:36 EDT 2009

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.


More information about the Libraries mailing list