Re: $thisdir for package.conf?

2010-08-12 Thread Duncan Coutts
On 12 August 2010 02:20, Greg Fitzgerald  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
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


$thisdir for package.conf?

2010-08-11 Thread 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?

Thanks,
Greg
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users