summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ghc/utils/ghc-pkg/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/utils/ghc-pkg/Main.hs b/ghc/utils/ghc-pkg/Main.hs
index 8dd520614c..a734636f2e 100644
--- a/ghc/utils/ghc-pkg/Main.hs
+++ b/ghc/utils/ghc-pkg/Main.hs
@@ -410,7 +410,7 @@ parsePackageInfo
-> IO InstalledPackageInfo
parsePackageInfo str defines force =
case parseInstalledPackageInfo str of
- ParseOk ok -> return ok
+ ParseOk _warns ok -> return ok
ParseFailed err -> die (showError err)
-- -----------------------------------------------------------------------------