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.
2 parents e30ffcb + 9bf8210 commit af422f7Copy full SHA for af422f7
cabal-install/Distribution/Solver/Modular/Solver.hs
@@ -14,6 +14,7 @@ import Data.Set as S
14
import Distribution.Version
15
16
import Distribution.Compiler (CompilerInfo)
17
+import Distribution.Text (display)
18
19
import Distribution.Solver.Types.PackagePath
20
import Distribution.Solver.Types.PackagePreferences
@@ -201,7 +202,7 @@ instance GSimpleTree (Tree d QGoalReason) where
201
202
203
-- Show package choice
204
goP :: QPN -> POption -> Tree d QGoalReason -> (String, SimpleTree)
- goP _ (POption (I ver _loc) Nothing) subtree = (showVersion ver, go subtree)
205
+ goP _ (POption (I ver _loc) Nothing) subtree = (display ver, go subtree)
206
goP (Q _ pn) (POption _ (Just pp)) subtree = (showQPN (Q pp pn), go subtree)
207
208
-- Show flag or stanza choice
0 commit comments