$thisdir for package.conf?

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? Thanks, Greg

On 12 August 2010 02:20, Greg Fitzgerald
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
participants (2)
-
Duncan Coutts
-
Greg Fitzgerald