Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/ba409e30ff518c5659bb9c5ea108da34fbcdb646 >--------------------------------------------------------------- commit ba409e30ff518c5659bb9c5ea108da34fbcdb646 Author: Paolo Capriotti <[email protected]> Date: Thu May 10 16:18:21 2012 +0100 Simplify the behavior of package db flags. Previously, the `-no-user-package` and `-no-global-package` flags affected the "initial" stack only, while `user-package` and `global-packages` appended to the end of the stack. This commit changes the behavior of those flags, so that they are always applied to the stack as a whole. The effect of the GHC_PACKAGE_PATH environment variable has also been changed: terminating it with a separator now adds the default package dbs (user and global) instead of the initial stack. compiler/main/DynFlags.hs | 38 ++++++++++++++++++++++---------------- compiler/main/Packages.lhs | 12 +++--------- docs/users_guide/flags.xml | 6 +++--- docs/users_guide/packages.xml | 24 +++++++++++++----------- 4 files changed, 41 insertions(+), 39 deletions(-) Diff suppressed because of size. To see it, use: git show ba409e30ff518c5659bb9c5ea108da34fbcdb646 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
