[commit: packages/Cabal] ghc-head: Don't allow 'sandbox-config-file' in '~/.cabal/config'. (dcc4b31)

git at git.haskell.org git at git.haskell.org
Fri Sep 13 17:54:56 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=dcc4b31af680d6141bfb169943eba062ee1ee37a

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

commit dcc4b31af680d6141bfb169943eba062ee1ee37a
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date:   Sat Sep 7 04:18:35 2013 +0200

    Don't allow 'sandbox-config-file' in '~/.cabal/config'.


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

dcc4b31af680d6141bfb169943eba062ee1ee37a
 cabal-install/Distribution/Client/Config.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cabal-install/Distribution/Client/Config.hs b/cabal-install/Distribution/Client/Config.hs
index 2e5267e..937f8bc 100644
--- a/cabal-install/Distribution/Client/Config.hs
+++ b/cabal-install/Distribution/Client/Config.hs
@@ -367,7 +367,7 @@ configFieldDescriptions =
 
      toSavedConfig liftGlobalFlag
        (commandOptions globalCommand ParseArgs)
-       ["version", "numeric-version", "config-file"] []
+       ["version", "numeric-version", "config-file", "sandbox-config-file"] []
 
   ++ toSavedConfig liftConfigFlag
        (configureOptions ParseArgs)




More information about the ghc-commits mailing list