GHC.Paths

Simon Marlow marlowsd at gmail.com
Mon Jun 23 10:22:12 EDT 2008


Claus Reinke wrote:

> (is there a saner way to handle the $httptopdir prefix in 
> GHC.Paths.docdir?)

If I new of one, I would have implemented it.  The only way to improve this 
is to pass in the real path at installation time, or to have the install 
save the path somewhere that we could get it later.

> This could perhaps be done when the installed GHC is first run (or
> manually, before GHC.Paths is first used). In any case, having to do
> this once per GHC (re-)installation is a big improvement over having
> to search for these things for every client invocation (also a better
> chance of getting it right, I assume).

If you don't mind doing it manually, then:

  $ cabal install ghc-paths

(GHC 6.10.1 will come with the cabal command)

Cheers,
	Simon


More information about the Cvs-libraries mailing list