[commit: packages/Cabal] ghc-head: Don't update 'cabal.sandbox.config' after 'configure -w'. (077df38)
git at git.haskell.org
git at git.haskell.org
Mon Aug 26 23:25:36 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=077df38fd5897034d7521aaeb26775e0c8c2b8cc
>---------------------------------------------------------------
commit 077df38fd5897034d7521aaeb26775e0c8c2b8cc
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date: Sat May 18 00:51:02 2013 +0200
Don't update 'cabal.sandbox.config' after 'configure -w'.
Use the values from 'ConfigFlags' that were read from 'dist/setup-config'
instead.
This way 'reinstallAddSourceDeps' won't reinstall deps for the wrong compiler,
but the user will be forced to use 'install -w' when installing inside a
sandbox. This is consistent with the normal mode of operation.
Fixes #1333, in a way.
>---------------------------------------------------------------
077df38fd5897034d7521aaeb26775e0c8c2b8cc
cabal-install/Distribution/Client/Sandbox.hs | 85 ++++++--------------
.../Client/Sandbox/PackageEnvironment.hs | 31 +------
cabal-install/Main.hs | 31 +++----
3 files changed, 40 insertions(+), 107 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 077df38fd5897034d7521aaeb26775e0c8c2b8cc
More information about the ghc-commits
mailing list