Skip to content

Commit 45c25ef

Browse files
committed
Fix compilation of hackage-security tests
1 parent c8fb6ae commit 45c25ef

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

hackage-security/ChangeLog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
See also http://pvp.haskell.org/faq
22

3+
0.6.2.2
4+
-------
5+
6+
* Fix broken compilation of test-suite with Cabal-syntax-3.8.1.0 on Hackage
7+
* Huge README updates
8+
39
0.6.2.1
410
-------
511

hackage-security/hackage-security.cabal

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 1.12
22
name: hackage-security
3-
version: 0.6.2.1
3+
version: 0.6.2.2
44
x-revision: 1
55

66
synopsis: Hackage security library
@@ -263,7 +263,6 @@ test-suite TestSuite
263263
-- inherited constraints from lib:hackage-security component
264264
build-depends: hackage-security,
265265
base,
266-
Cabal,
267266
containers,
268267
bytestring,
269268
network-uri,
@@ -273,7 +272,13 @@ test-suite TestSuite
273272
zlib
274273

275274
if flag(Cabal-syntax)
276-
build-depends: Cabal-syntax
275+
build-depends: Cabal >= 3.7 && < 3.10,
276+
Cabal-syntax >= 3.7 && < 3.10
277+
else
278+
build-depends: Cabal >= 1.14 && < 1.26
279+
|| >= 2.0 && < 2.6
280+
|| >= 3.0 && < 3.7,
281+
Cabal-syntax < 3.7
277282

278283
-- dependencies exclusive to test-suite
279284
build-depends: tasty >= 1.2 && < 1.5,

0 commit comments

Comments
 (0)