Commit e571e780 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Fix the display of the license in "cabal list" output

parent 74c9be20
......@@ -175,7 +175,7 @@ showPackageSummaryInfo pkginfo =
| otherwise -> text "[ Unknown ]"
Just pkg -> disp (packageVersion pkg)
, maybeShow (homepage pkginfo) "Homepage:" text
, text "License: " <+> text (show (license pkginfo))
, text "License: " <+> text (display (license pkginfo))
])
$+$ text ""
where
......
Markdown is supported
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