We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37259c0 commit 8031abdCopy full SHA for 8031abd
cabal-install-solver/src/Distribution/Solver/Modular/Message.hs
@@ -292,7 +292,7 @@ showOptions verb q xs = showQPN q ++ "; " ++ (L.intercalate ", "
292
then showOption q x
293
else showI i -- Don't show the package, just the version
294
| x@(POption i linkedTo) <- if verb >= verbose then xs else take 1 xs
295
- ] ++ if verb < verbose && length xs >= 1 then " and other versions" else "")
+ ] ++ if verb < verbose && length xs > 1 then " and " ++ show (length xs - 1) ++" other versions" else "")
296
297
showGR :: QGoalReason -> String
298
showGR UserGoal = " (user goal)"
0 commit comments