[commit: packages/Cabal] ghc-head: Use globalInstallDirs as the sandbox location. (729658b)

git at git.haskell.org git at git.haskell.org
Mon Aug 26 23:25:05 CEST 2013


Repository : ssh://git@git.haskell.org/Cabal

On branch  : ghc-head
Link       : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=729658bc63bb302f58f32186083f84f2bc32ecc0

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

commit 729658bc63bb302f58f32186083f84f2bc32ecc0
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date:   Mon May 13 13:33:51 2013 +0200

    Use globalInstallDirs as the sandbox location.
    
    Reverts 7b2e3630f2ada8a56bf9100144e1bb9acbe6dc6a. Instead of temporarily setting
    'configUserInstall' to 'False' in various places, we now just check that we're
    not in a sandbox when deciding whether we should use 'rootCmd'.


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

729658bc63bb302f58f32186083f84f2bc32ecc0
 cabal-install/Distribution/Client/Install.hs       |    6 +-
 cabal-install/Distribution/Client/Sandbox.hs       |   61 +++-----------------
 .../Client/Sandbox/PackageEnvironment.hs           |    5 +-
 cabal-install/Distribution/Client/Sandbox/Types.hs |   36 ++++++++++++
 cabal-install/Distribution/Client/Setup.hs         |   14 +++--
 cabal-install/Main.hs                              |   25 +++-----
 cabal-install/cabal-install.cabal                  |    1 +
 7 files changed, 72 insertions(+), 76 deletions(-)

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

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 729658bc63bb302f58f32186083f84f2bc32ecc0




More information about the ghc-commits mailing list