patch applied (cabal): Refactor the internal handling of the "--user" flag into a PackageDB type

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Fri Aug 31 14:21:21 EDT 2007


Fri Aug 31 06:50:42 PDT 2007  Duncan Coutts <duncan at haskell.org>
  * Refactor the internal handling of the "--user" flag into a PackageDB type
  PackageDB can be user/global or a specific package db. The latter option is
  not exposed in the user interface anywhere.
  Also move the getInstalledPackages into the per-compiler modules with a
  non-compiler-specific wrapper left in Distribution.Simple.Configure

    M ./Distribution/Simple.hs -1 +1
    M ./Distribution/Simple/Compiler.hs +18
    M ./Distribution/Simple/Configure.hs -40 +19
    M ./Distribution/Simple/GHC.hs -4 +29
    M ./Distribution/Simple/JHC.hs -7 +23
    M ./Distribution/Simple/LocalBuildInfo.hs -2 +2
    M ./Distribution/Simple/Register.hs -28 +35
    M ./Distribution/Simple/Setup.hs -27 +15
    M ./Distribution/Simple/SetupWrapper.hs -19 +20


More information about the cabal-devel mailing list