diff options
| author | Inari Listenmaa <inari.listenmaa@gmail.com> | 2025-03-20 17:53:56 +0100 |
|---|---|---|
| committer | Inari Listenmaa <inari.listenmaa@gmail.com> | 2025-08-02 16:39:31 +0200 |
| commit | ab0f09e9f7c7c47096c0667a5708f9d6b8cf312c (patch) | |
| tree | c822b0f0323fa18f0219afaf19dc4b244a284dec /gf.cabal | |
| parent | 9fa8ac934a1dbd7f1a59c473e7f37debea012272 (diff) | |
build-depends for unix depending on ghc version
Diffstat (limited to 'gf.cabal')
| -rw-r--r-- | gf.cabal | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -346,8 +346,14 @@ library Win32 >= 2.3.1.1 && < 2.7 else build-depends: - terminfo >=0.4.0 && < 0.5, - unix >= 2.8 + terminfo >=0.4.0 && < 0.5 + + if impl(ghc >= 9.6.6) + build-depends: unix >= 2.8 + + else + build-depends: unix >= 2.7.2 && < 2.8 + if impl(ghc>=8.2) ghc-options: -fhide-source-paths |
