summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Finder.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Driver/Finder.hs')
-rw-r--r--compiler/GHC/Driver/Finder.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Finder.hs b/compiler/GHC/Driver/Finder.hs
index b5bd91e3cb..f3a0ca5bc2 100644
--- a/compiler/GHC/Driver/Finder.hs
+++ b/compiler/GHC/Driver/Finder.hs
@@ -774,7 +774,7 @@ cantFindErr cannot_find _ dflags mod_name find_result
provenance (ModOrigin{ fromOrigPackage = e,
fromHiddenReexport = rhs })
| Just False <- e
- = parens (text "needs flag -package-key"
+ = parens (text "needs flag -package-id"
<+> ppr (moduleUnit mod))
| (pkg:_) <- rhs
= parens (text "needs flag -package-id"