Skip to content

Commit

Permalink
Merge pull request #3189 from grayjay/configure-warning
Browse files Browse the repository at this point in the history
Warn when 'cabal configure' cannot resolve dependencies.
  • Loading branch information
23Skidoo committed Feb 24, 2016
2 parents b9803b7 + 970f5b2 commit 5c046d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cabal-install/Distribution/Client/Configure.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ import Distribution.PackageDescription.Configuration
import Distribution.Version
( anyVersion, thisVersion )
import Distribution.Simple.Utils as Utils
( warn, notice, info, debug, die )
( warn, notice, debug, die )
import Distribution.Simple.Setup
( isAllowNewer )
import Distribution.System
Expand Down Expand Up @@ -121,8 +121,8 @@ configure verbosity packageDBs repoCtxt comp platform conf
progress
case maybePlan of
Left message -> do
info verbosity $
"Warning: solver failed to find a solution:\n"
warn verbosity $
"solver failed to find a solution:\n"
++ message
++ "Trying configure anyway."
setupWrapper verbosity (setupScriptOptions installedPkgIndex Nothing)
Expand Down

0 comments on commit 5c046d6

Please sign in to comment.