Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal On branch :
http://hackage.haskell.org/trac/ghc/changeset/9bcda2a429ef85e3b62d8c75cac5fd46f9772f7f >--------------------------------------------------------------- commit 9bcda2a429ef85e3b62d8c75cac5fd46f9772f7f Author: Duncan Coutts <[email protected]> Date: Wed Jan 13 19:19:13 2010 +0000 Fix the display of the license in "cabal list" output >--------------------------------------------------------------- cabal-install/Distribution/Client/List.hs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cabal-install/Distribution/Client/List.hs b/cabal-install/Distribution/Client/List.hs index 7602bb1..0633d15 100644 --- a/cabal-install/Distribution/Client/List.hs +++ b/cabal-install/Distribution/Client/List.hs @@ -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 _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
