Commit 88fcc0d2 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Tweak to conflict constraint error message

parent 5822b595
......@@ -834,8 +834,8 @@ showFailure (DependencyConflict pkg dep _ conflicts) =
| (pkg', reasons) <- conflicts, reason <- reasons ]
showFailure (TopLevelVersionConstraintConflict name ver conflicts) =
"constraints conflict: "
++ "top level constraint " ++ displayDep (Dependency name ver) ++ " however\n"
"constraints conflict: we have the top level constraint "
++ displayDep (Dependency name ver) ++ ", but\n"
++ unlines [ showExclusionReason (packageId pkg') reason
| (pkg', reasons) <- conflicts, reason <- reasons ]
......
Supports Markdown
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