Print out sub-libraries of packages more nicely.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Thu, 2 Mar 2017 21:27:32 +0000 (16:27 -0500)
committerBen Gamari <ben@smart-cactus.org>
Fri, 3 Mar 2017 00:58:01 +0000 (19:58 -0500)
commit0b922909121f6a812d2861a29d0d0d3c7e2fcfce
treed971f683eaeb3da2d16025c849637565320940b6
parenta6874e546294173c166859769dd8054887a6ded7
Print out sub-libraries of packages more nicely.

Previously, we would print out the munged package name
which looked like z-bkpcabal01-z-p-0.1.0.0.  Now
it looks like: bkpcabal01-0.1.0.0:p.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate

Reviewers: simonpj, bgamari, austin

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D3235
compiler/backpack/DriverBkp.hs
compiler/main/Packages.hs
libraries/ghc-boot/GHC/PackageDb.hs
testsuite/tests/backpack/cabal/bkpcabal02/bkpcabal02.stderr
utils/ghc-pkg/Main.hs