Skip to content

Commit

Permalink
Make it build with ghc-9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
erikd committed Nov 30, 2023
1 parent c67af4e commit 15d73bc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ packages:
tests: True
test-show-details: direct
benchmarks: True

if impl(ghc >=9.8)
allow-newer:
-- https://github.com/wrengr/unix-bytestring/pull/46
, unix-bytestring:base

6 changes: 3 additions & 3 deletions fs-api/fs-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ library

default-language: Haskell2010
build-depends:
, base >=4.14 && <4.19
, bytestring >=0.10 && <0.12
, base >=4.14 && <4.20
, bytestring >=0.10 && <0.13
, containers >=0.5 && <0.7
, deepseq
, digest
, directory >=1.3 && <1.4
, filepath >=1.4 && <1.5
, io-classes >=0.3 && <1.4
, text >=1.2 && <2.1
, text >=1.2 && <2.2

if os(windows)
build-depends: Win32 >=2.6.1.0
Expand Down
6 changes: 3 additions & 3 deletions fs-sim/fs-sim.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ library

default-language: Haskell2010
build-depends:
, base >=4.14 && <4.19
, base >=4.14 && <4.20
, base16-bytestring
, bytestring >=0.10 && <0.12
, bytestring >=0.10 && <0.13
, containers >=0.5 && <0.7
, fs-api ^>=0.2
, io-classes >=0.3 && <1.4
, mtl
, QuickCheck
, strict-stm >=0.3 && <1.4
, text >=1.2 && <2.1
, text >=1.2 && <2.2

ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns
Expand Down

0 comments on commit 15d73bc

Please sign in to comment.