Skip to content
Snippets Groups Projects
Commit 5c046d68 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Merge pull request #3189 from grayjay/configure-warning

Warn when 'cabal configure' cannot resolve dependencies.
parents b9803b77 970f5b27
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment