Skip to content

Commit 9c72994

Browse files
committed
Add upper bounds to base, unix and template-haskell
1 parent 17ebcac commit 9c72994

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gf.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ library
159159
parallel >= 3.2.1.1 && < 3.3,
160160
process >= 1.4.3 && < 1.7,
161161
time >= 1.6.0 && <= 1.12.2,
162-
template-haskell >= 2.13.0.0
162+
template-haskell >= 2.13.0.0 && < 2.21
163163

164164
hs-source-dirs: src/compiler
165165
exposed-modules:
@@ -350,7 +350,7 @@ library
350350
terminfo >=0.4.0 && < 0.5
351351

352352
if impl(ghc >= 9.6.6)
353-
build-depends: unix >= 2.8
353+
build-depends: unix >= 2.8 && < 2.9
354354

355355
else
356356
build-depends: unix >= 2.7.2 && < 2.8
@@ -365,7 +365,7 @@ executable gf
365365
default-language: Haskell2010
366366
build-depends:
367367
gf,
368-
base
368+
base >= 4.9.1 && < 4.22
369369
ghc-options: -threaded
370370
--ghc-options: -fwarn-unused-imports
371371

@@ -399,7 +399,7 @@ test-suite gf-tests
399399
main-is: run.hs
400400
hs-source-dirs: testsuite
401401
build-depends:
402-
base >= 4.9.1,
402+
base >= 4.9.1 && < 4.22,
403403
Cabal >= 1.8,
404404
directory >= 1.3.0 && < 1.4,
405405
filepath >= 1.4.1 && < 1.5,

0 commit comments

Comments
 (0)