diff --git a/System/Posix/Resource.hsc b/System/Posix/Resource.hsc index 8618ba7c7bdb096a9b03372b581a1a2194118859..ffd2c353d2bd2c8510ebef634741b6e5123ea47b 100644 --- a/System/Posix/Resource.hsc +++ b/System/Posix/Resource.hsc @@ -1,5 +1,9 @@ {-# LANGUAGE CApiFFI #-} +#if __GLASGOW_HASKELL__ >= 905 {-# LANGUAGE Trustworthy #-} +#else +{-# LANGUAGE Safe #-} +#endif ----------------------------------------------------------------------------- -- | diff --git a/unix.cabal b/unix.cabal index 28d23ba044aa6e346af0118192163143b56fa052..9c41ca9d4a0e4aee0caa81e16b8050775e83a34d 100644 --- a/unix.cabal +++ b/unix.cabal @@ -11,8 +11,9 @@ bug-reports: https://github.com/haskell/unix/issues synopsis: POSIX functionality category: System build-type: Configure -tested-with: GHC==9.0.1, - GHC==8.10.4, +tested-with: GHC==9.2.4, + GHC==9.0.2, + GHC==8.10.7, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, @@ -68,9 +69,9 @@ library buildable: False build-depends: - base >= 4.10 && < 4.17, + base >= 4.10 && < 4.18, bytestring >= 0.9.2 && < 0.12, - filepath >= 1.4.100.0, + filepath >= 1.4.100.0 && < 1.5, time >= 1.2 && < 1.13 exposed-modules: