[commit: Cabal] : The ConfigFlags now contain two different sets of install dirs, one for global and one for user installs. (943a225)
Ian Lynagh
igloo at earth.li
Fri Jun 24 01:47:51 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch :
http://hackage.haskell.org/trac/ghc/changeset/943a2253674ebaf57fc258afe715bb132a5f8b30
>---------------------------------------------------------------
commit 943a2253674ebaf57fc258afe715bb132a5f8b30
Author: bjorn <bjorn at bringert.net>
Date: Tue Oct 16 15:35:25 2007 +0000
The ConfigFlags now contain two different sets of install dirs, one for global and one for user installs.
This simplifies the install dirs handling a lot, and allows the user to specify both user and global install dirs in the config file, and chose installation type on the command line.
We now ignore the config file and command-line compiler flavor when choosing install directories, since that
is so messy. This might break installs with Hugs, but that requires testing.
The old code didn't work when the compiler was specified on the command-line anyway.
cabal-install/Hackage/Config.hs | 79 ++++++++++++++++++++++----------------
cabal-install/Hackage/Install.hs | 7 ++-
cabal-install/Hackage/Setup.hs | 15 ++++++-
cabal-install/Hackage/Types.hs | 3 +-
4 files changed, 65 insertions(+), 39 deletions(-)
Diff suppressed because of size. To see it, use:
git show 943a2253674ebaf57fc258afe715bb132a5f8b30
More information about the Cvs-libraries
mailing list