$thisdir for package.conf?

Duncan Coutts duncan.coutts at googlemail.com
Thu Aug 12 05:29:09 EDT 2010


On 12 August 2010 02:20, Greg Fitzgerald <garious at gmail.com> wrote:
> Is there a way for a package.conf file to contain paths that are relative to
> the directory containing the .conf file?  GHC 6.12.1 chokes on relative
> paths.  I see the problem is solved for GHC's core libraries with the
> $topdir variable.  Is there something like a $thisdir we could use in
> inplace .conf files?

We came up with a specification for this but it is not yet implemented:

http://www.haskell.org/pipermail/libraries/2009-May/011772.html
http://hackage.haskell.org/trac/ghc/ticket/3268

Patches welcome.

Duncan


More information about the Glasgow-haskell-users mailing list