aboutsummaryrefslogtreecommitdiff
path: root/cabal-plan/src-exe/LicenseReport.hs
diff options
context:
space:
mode:
Diffstat (limited to 'cabal-plan/src-exe/LicenseReport.hs')
-rw-r--r--cabal-plan/src-exe/LicenseReport.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cabal-plan/src-exe/LicenseReport.hs b/cabal-plan/src-exe/LicenseReport.hs
index 9427d7a..7afe4e7 100644
--- a/cabal-plan/src-exe/LicenseReport.hs
+++ b/cabal-plan/src-exe/LicenseReport.hs
@@ -206,7 +206,7 @@ generateLicenseReport mlicdir plan uid0 cn0 = do
T.putStrLn ("Bold-faced **`package-name`**s denote standard libraries bundled with `" <> dispPkgId (pjCompilerId plan) <> "`.")
T.putStrLn ""
- T.putStrLn ("## Direct dependencies of `" <> unPkgN pn0 <> ":" <> dispCompName cn0 <> "`")
+ T.putStrLn ("## Direct dependencies of `" <> unPkgN pn0 <> ":" <> dispCompNameTarget pn0 cn0 <> "`")
T.putStrLn ""
T.putStrLn "| Name | Version | [SPDX](https://spdx.org/licenses/) License Id | Description | Also depended upon by |"
T.putStrLn "| --- | --- | --- | --- | --- |"