Skip to content

Commit 3be0223

Browse files
authored
Final touches for 2.8 (#243)
* Allow base-4.17 for GHC 9.4; restrict filepath < 1.5 * Fix 'marked as Trustworthy but has been inferred as safe' warning
1 parent a4c6a0c commit 3be0223

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

System/Posix/Resource.hsc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{-# LANGUAGE CApiFFI #-}
2+
#if __GLASGOW_HASKELL__ >= 905
23
{-# LANGUAGE Trustworthy #-}
4+
#else
5+
{-# LANGUAGE Safe #-}
6+
#endif
37

48
-----------------------------------------------------------------------------
59
-- |

unix.cabal

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ bug-reports: https://github.com/haskell/unix/issues
1111
synopsis: POSIX functionality
1212
category: System
1313
build-type: Configure
14-
tested-with: GHC==9.0.1,
15-
GHC==8.10.4,
14+
tested-with: GHC==9.2.4,
15+
GHC==9.0.2,
16+
GHC==8.10.7,
1617
GHC==8.8.4,
1718
GHC==8.6.5,
1819
GHC==8.4.4,
@@ -68,9 +69,9 @@ library
6869
buildable: False
6970

7071
build-depends:
71-
base >= 4.10 && < 4.17,
72+
base >= 4.10 && < 4.18,
7273
bytestring >= 0.9.2 && < 0.12,
73-
filepath >= 1.4.100.0,
74+
filepath >= 1.4.100.0 && < 1.5,
7475
time >= 1.2 && < 1.13
7576

7677
exposed-modules:

0 commit comments

Comments
 (0)