Skip to content

Commit 426bf07

Browse files
committed
Changes for compilation under GHC 9.4 (not for release)
1 parent e239a9f commit 426bf07

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

cabal-testsuite/cabal-testsuite.cabal

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ common shared
2626
default-language: Haskell2010
2727

2828
build-depends:
29-
, base >= 4.6 && <4.17
29+
, base >= 4.6 && <4.18
3030
-- this needs to match the in-tree lib:Cabal version
31-
, Cabal ^>=3.8.0.0
32-
, Cabal-syntax ^>=3.8.0.0
31+
, Cabal ^>=3.8.1.0
32+
, Cabal-syntax ^>=3.8.1.0
3333

3434
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
3535

@@ -57,7 +57,7 @@ library
5757
Test.Cabal.ScriptEnv0
5858

5959
build-depends:
60-
, aeson ^>= 1.4.2.0 || ^>=1.5.0.0 || ^>= 2.0.0.0
60+
, aeson ^>= 1.4.2.0 || ^>=1.5.0.0 || ^>= 2.0.0.0 || ^>= 2.1.0.0
6161
, async ^>= 2.2.1
6262
, attoparsec ^>= 0.13.2.2 || ^>=0.14.1
6363
, base16-bytestring ^>= 0.1.1.6 || ^>= 1.0.0.0
@@ -67,8 +67,8 @@ library
6767
, directory ^>= 1.2.0.1 || ^>= 1.3.0.0
6868
, exceptions ^>= 0.10.0
6969
, filepath ^>= 1.3.0.1 || ^>= 1.4.0.0
70-
, network-wait ^>= 0.1.2.0
71-
, optparse-applicative ^>= 0.14.3.0 || ^>=0.15.1.0 || ^>=0.16.0.0
70+
, network-wait >= 0.1.2.0 && < 0.3
71+
, optparse-applicative ^>= 0.14.3.0 || ^>=0.15.1.0 || ^>=0.16.0.0 || ^>=0.17.0.0
7272
, process ^>= 1.2.1.0 || ^>= 1.4.2.0 || ^>= 1.6.1.0
7373
, regex-base ^>= 0.94.0.1
7474
, regex-tdfa ^>= 1.2.3.1 || ^>=1.3.1.0
@@ -80,7 +80,7 @@ library
8080

8181
if !os(windows)
8282
build-depends:
83-
, unix ^>= 2.6.0.0 || ^>= 2.7.0.0
83+
, unix ^>= 2.6.0.0 || ^>= 2.7.0.0 || ^>= 2.8.0.0
8484
else
8585
build-depends:
8686
, Win32
@@ -113,6 +113,6 @@ custom-setup
113113
-- we only depend on even stable releases of lib:Cabal
114114
-- and due to Custom complexity and ConstraintSetupCabalMaxVersion
115115
-- it can't be the current version
116-
setup-depends: Cabal == 3.6.*,
117-
Cabal-syntax == 3.6.*,
116+
setup-depends: Cabal == 3.8.*,
117+
Cabal-syntax == 3.8.*,
118118
base, filepath, directory

cabal.project

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ packages: cabal-benchmarks/
1313

1414
optional-packages: ./vendored/*/*.cabal
1515

16-
allow-newer:
17-
hackage-security:Cabal
16+
allow-newer: hackage-security:Cabal
17+
18+
allow-newer: *:text
19+
allow-newer: *:unix
1820

1921
-- avoiding extra dependencies
2022
constraints: rere -rere-cfg

0 commit comments

Comments
 (0)