Skip to content

Commit ab0f09e

Browse files
committed
build-depends for unix depending on ghc version
1 parent 9fa8ac9 commit ab0f09e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

gf.cabal

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,14 @@ library
346346
Win32 >= 2.3.1.1 && < 2.7
347347
else
348348
build-depends:
349-
terminfo >=0.4.0 && < 0.5,
350-
unix >= 2.8
349+
terminfo >=0.4.0 && < 0.5
350+
351+
if impl(ghc >= 9.6.6)
352+
build-depends: unix >= 2.8
353+
354+
else
355+
build-depends: unix >= 2.7.2 && < 2.8
356+
351357

352358
if impl(ghc>=8.2)
353359
ghc-options: -fhide-source-paths

0 commit comments

Comments
 (0)