summaryrefslogtreecommitdiff
path: root/compiler/backpack
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2017-03-02 16:27:32 -0500
committerBen Gamari <ben@smart-cactus.org>2017-03-02 19:58:01 -0500
commit0b922909121f6a812d2861a29d0d0d3c7e2fcfce (patch)
treed971f683eaeb3da2d16025c849637565320940b6 /compiler/backpack
parenta6874e546294173c166859769dd8054887a6ded7 (diff)
downloadhaskell-0b922909121f6a812d2861a29d0d0d3c7e2fcfce.tar.gz
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
Diffstat (limited to 'compiler/backpack')
-rw-r--r--compiler/backpack/DriverBkp.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/backpack/DriverBkp.hs b/compiler/backpack/DriverBkp.hs
index 38b9d4fe5d..d85b80dbc2 100644
--- a/compiler/backpack/DriverBkp.hs
+++ b/compiler/backpack/DriverBkp.hs
@@ -308,6 +308,8 @@ buildUnit session cid insts lunit = do
packageName = compat_pn,
packageVersion = makeVersion [0],
unitId = toInstalledUnitId (thisPackage dflags),
+ mungedPackageName = Nothing,
+ libName = Nothing,
componentId = cid,
instantiatedWith = insts,
-- Slight inefficiency here haha