Skip to content

Commit

Permalink
'cabal configure': honor the --constraint flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
23Skidoo committed Oct 27, 2013
1 parent 65c64b2 commit ed19d6e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cabal-install/Distribution/Client/Configure.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import Distribution.PackageDescription.Configuration
import Distribution.Version
( anyVersion, thisVersion )
import Distribution.Simple.Utils as Utils
( notice, info, debug, die )
( notice, debug, die )
import Distribution.System
( Platform )
import Distribution.Verbosity as Verbosity
Expand Down Expand Up @@ -77,10 +77,7 @@ configure verbosity packageDBs repos comp platform conf
maybePlan <- foldProgress logMsg (return . Left) (return . Right)
progress
case maybePlan of
Left message -> do
info verbosity message
setupWrapper verbosity (setupScriptOptions installedPkgIndex) Nothing
configureCommand (const configFlags) extraArgs
Left message -> die message

Right installPlan -> case InstallPlan.ready installPlan of
[pkg@(ConfiguredPackage (SourcePackage _ _ (LocalUnpackedPackage _) _) _ _ _)] ->
Expand Down

0 comments on commit ed19d6e

Please sign in to comment.