[commit: Cabal] master: fixed a strange options handling bug (9f56dfb)
Ian Lynagh
igloo at earth.li
Fri Nov 4 18:07:54 CET 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/9f56dfba504de49fc7b7e579fd56c5397fb02ebb
>---------------------------------------------------------------
commit 9f56dfba504de49fc7b7e579fd56c5397fb02ebb
Author: Andres Loeh <andres at well-typed.com>
Date: Fri Oct 28 09:17:27 2011 +0000
fixed a strange options handling bug
>---------------------------------------------------------------
cabal-install/Distribution/Client/Setup.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cabal-install/Distribution/Client/Setup.hs b/cabal-install/Distribution/Client/Setup.hs
index a5e5079..43bd5b0 100644
--- a/cabal-install/Distribution/Client/Setup.hs
+++ b/cabal-install/Distribution/Client/Setup.hs
@@ -667,7 +667,7 @@ installCommand = CommandUI {
++ " Specific version of a package\n"
++ " " ++ pname ++ " install 'foo < 2' "
++ " Constrained package version\n",
- commandDefaultFlags = (mempty, mempty, mempty, mempty),
+ commandDefaultFlags = (mempty, defaultConfigExFlags, mempty, mempty),
commandOptions = \showOrParseArgs ->
liftOptions get1 set1 (filter ((/="constraint") . optionName) $
configureOptions showOrParseArgs)
More information about the Cvs-libraries
mailing list