summaryrefslogtreecommitdiff
path: root/utils
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
parent09fa56540aca53c32b6f008a3af2d61c70e1b47d (diff)
downloadhaskell-2b37a79d61e9b3787873dc9f7458ef2bde4809b0.tar.gz
Bump Cabal submodule to 3.1
------------------------- Metric Increase: haddock.Cabal T4029 -------------------------
Diffstat (limited to 'utils')
-rw-r--r--utils/check-api-annotations/check-api-annotations.cabal2
-rw-r--r--utils/check-ppr/check-ppr.cabal2
-rw-r--r--utils/ghc-cabal/ghc-cabal.cabal3
-rw-r--r--utils/ghc-pkg/Main.hs2
4 files changed, 4 insertions, 5 deletions
diff --git a/utils/check-api-annotations/check-api-annotations.cabal b/utils/check-api-annotations/check-api-annotations.cabal
index 12d088437b..b02ad9284d 100644
--- a/utils/check-api-annotations/check-api-annotations.cabal
+++ b/utils/check-api-annotations/check-api-annotations.cabal
@@ -24,6 +24,6 @@ Executable check-api-annotations
Build-Depends: base >= 4 && < 5,
containers,
- Cabal >= 3.0 && < 3.1,
+ Cabal >= 3.0 && < 3.2,
directory,
ghc
diff --git a/utils/check-ppr/check-ppr.cabal b/utils/check-ppr/check-ppr.cabal
index 2438724636..3636b73ed6 100644
--- a/utils/check-ppr/check-ppr.cabal
+++ b/utils/check-ppr/check-ppr.cabal
@@ -25,7 +25,7 @@ Executable check-ppr
Build-Depends: base >= 4 && < 5,
bytestring,
containers,
- Cabal >= 3.0 && < 3.1,
+ Cabal >= 3.0 && < 3.2,
directory,
filepath,
ghc
diff --git a/utils/ghc-cabal/ghc-cabal.cabal b/utils/ghc-cabal/ghc-cabal.cabal
index 3176e5d3ab..f4fefb5ab2 100644
--- a/utils/ghc-cabal/ghc-cabal.cabal
+++ b/utils/ghc-cabal/ghc-cabal.cabal
@@ -21,7 +21,6 @@ Executable ghc-cabal
Build-Depends: base >= 3 && < 5,
bytestring >= 0.10 && < 0.11,
- Cabal >= 3.0 && < 3.1,
+ Cabal >= 3.0 && < 3.2,
directory >= 1.1 && < 1.4,
filepath >= 1.2 && < 1.5
-
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