Skip to content
Snippets Groups Projects
Commit 8614859d authored by Andres Löh's avatar Andres Löh
Browse files

Fix debugging output for infinite backjumps.

Previously, a setting of `--max-backjumps=-1` was reported in
the debug output as `0`. But `0` has a very different meaning,
and that is confusing.
parent b65935fc
No related branches found
No related tags found
No related merge requests found
......@@ -168,8 +168,8 @@ showDepResolverParams p =
++ "\navoid reinstalls: " ++ show (depResolverAvoidReinstalls p)
++ "\nshadow packages: " ++ show (depResolverShadowPkgs p)
++ "\nstrong flags: " ++ show (depResolverStrongFlags p)
++ "\nmax backjumps: " ++ show (fromMaybe 0 $
depResolverMaxBackjumps p)
++ "\nmax backjumps: " ++ maybe "infinite" show
(depResolverMaxBackjumps p)
where
showLabeledConstraint :: LabeledPackageConstraint -> String
showLabeledConstraint (LabeledPackageConstraint pc src) =
......
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