Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/40b6bd47cf00f025426746bbd7abdd0eda2a3afd

>---------------------------------------------------------------

commit 40b6bd47cf00f025426746bbd7abdd0eda2a3afd
Author: Duncan Coutts <[email protected]>
Date:   Mon May 23 22:10:45 2011 +0100

    Implement ${pkgroot} spec, allows relocatable registered packages
    
    Historically ghc implemented relocatable packages by allowing
    "$topdir" in the package registration info and having ghc expand
    this with its notion of $topdir. The topdir refers to where ghc
    itself is installed (specifically the libdir).
    
    The ${pkgroot} spec takes this idea and makes it portable.
    (http://www.haskell.org/pipermail/libraries/2009-May/011772.html)
    Instead of paths relative to where ghc is installed, they can be
    relative to the package database itself. Thus it is no longer a
    ghc-specific idea and can work for package collections other than
    the global package db.

 compiler/main/Packages.lhs |   73 +++++++++++++++-------
 utils/ghc-pkg/Main.hs      |  151 +++++++++++++++++++++++++++++---------------
 2 files changed, 150 insertions(+), 74 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 40b6bd47cf00f025426746bbd7abdd0eda2a3afd

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to