summaryrefslogtreecommitdiff
path: root/utils/ghc-pkg
diff options
context:
space:
mode:
authorSebastian Graf <sgraf1337@gmail.com>2019-09-09 13:55:48 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-09-12 14:05:29 -0400
commit2b37a79d61e9b3787873dc9f7458ef2bde4809b0 (patch)
tree6cc8b15464362f4aa95ba4b14481cb6945fe83ca /utils/ghc-pkg
parent09fa56540aca53c32b6f008a3af2d61c70e1b47d (diff)
downloadhaskell-2b37a79d61e9b3787873dc9f7458ef2bde4809b0.tar.gz
Bump Cabal submodule to 3.1
------------------------- Metric Increase: haddock.Cabal T4029 -------------------------
Diffstat (limited to 'utils/ghc-pkg')
-rw-r--r--utils/ghc-pkg/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs
index bace7356cd..3f6c5bea3f 100644
--- a/utils/ghc-pkg/Main.hs
+++ b/utils/ghc-pkg/Main.hs
@@ -1186,7 +1186,7 @@ parsePackageInfo str =
where
ws = [ msg | msg <- warnings
, not ("Unrecognized field pkgroot" `isPrefixOf` msg) ]
- Left err -> die (unlines err)
+ Left err -> die (unlines (F.toList err))
mungePackageInfo :: InstalledPackageInfo -> InstalledPackageInfo
mungePackageInfo ipi = ipi