Skip to content

Commit

Permalink
Depend on os-string-2.*
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed Apr 2, 2024
1 parent cfb3b7e commit df5dc00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hashable.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ library
, ghc-prim
, text >=1.2.3.0 && <1.3 || >=2.0 && <2.2

if impl(ghc >=9.0)
-- 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

if !impl(ghc >=9.2)
build-depends: base-orphans >=0.8.6 && <0.10

Expand Down

0 comments on commit df5dc00

Please sign in to comment.