Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

'cabal configure': honor the '--constraint' flag. #1565

Merged
merged 1 commit into from

3 participants

@23Skidoo
Collaborator

Fixes #1150. Fixes #1564.

@dcoutts
Collaborator

Yes ok. We can still configure packages that the solver would not allow by using Setup.hs configure.

@23Skidoo 23Skidoo merged commit 30eceb8 into haskell:master
@23Skidoo 23Skidoo deleted the 23Skidoo:configure-constraints branch
@tibbe
Owner

Note that this has been reverted in 8dd4441 on the 1.20 branch due to it caused e.g. containers test suite to no longer build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 29, 2013
  1. @23Skidoo
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 5 deletions.
  1. +2 −5 cabal-install/Distribution/Client/Configure.hs
View
7 cabal-install/Distribution/Client/Configure.hs
@@ -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
@@ -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 _) _) _ _ _)] ->
Something went wrong with that request. Please try again.