Skip to content

Commit

Permalink
Warn when 'cabal configure' cannot resolve dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
grayjay committed Feb 24, 2016
1 parent 7f59397 commit 970f5b2
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 970f5b2

Please sign in to comment.