Skip to content

Commit

Permalink
Add os-string upper bound
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed Jul 4, 2024
1 parent 03eb931 commit 57e0d06
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions hashable.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ bug-reports:
stability: Provisional
category: Data
build-type: Simple
tested-with:
GHC ==9.6.5
|| ==9.8.2
|| ==9.10.1

tested-with: GHC ==9.6.5 || ==9.8.2 || ==9.10.1
extra-source-files:
CHANGES.md
include/HsHashable.h
Expand Down Expand Up @@ -90,19 +86,19 @@ library
, containers >=0.6.7 && <0.8
, deepseq >=1.4.8.1 && <1.6
, ghc-prim
, text >=2.0.2 && <2.2
, text >=2.0.2 && <2.2

-- depend on os-string on newer GHCs only.
-- os-string has tight lower bound on bytestring, which prevents
-- using bundled version on older GHCs.
build-depends: os-string >=2.0.2
build-depends: os-string >=2.0.2 && <2.1

-- we also ensure that we can get filepath-1.5 only with GHC-9.2
-- therefore there is else-branch with stricter upper bound.
build-depends: filepath >=1.4.200.1 && <1.6
build-depends: filepath >=1.4.200.1 && <1.6

-- Integer internals
build-depends: ghc-bignum >=1.3 && <1.4
build-depends: ghc-bignum >=1.3 && <1.4

if (flag(random-initial-seed) && impl(ghc))
cpp-options: -DHASHABLE_RANDOM_SEED=1
Expand Down

0 comments on commit 57e0d06

Please sign in to comment.