Commit 970f5b27 authored by kristenk's avatar kristenk

Warn when 'cabal configure' cannot resolve dependencies.

parent 7f593977
......@@ -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
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment