From 8e193ca5308130dca1363f1c5aa91169b9c1490e Mon Sep 17 00:00:00 2001 From: Rodrigo Mesquita Date: Thu, 5 Feb 2026 15:03:54 +0000 Subject: [PATCH] Fix build in light of CLC#359 GHC.Num.* modules are now only export from ghc-bignum (no longer from base) https://github.com/haskell/core-libraries-committee/issues/359 --- hashable.cabal | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hashable.cabal b/hashable.cabal index 35e5e45..edbdba5 100644 --- a/hashable.cabal +++ b/hashable.cabal @@ -92,6 +92,9 @@ library if impl(ghc <9.8) build-depends: ghc-prim + if impl(ghc >9.14) + build-depends: ghc-bignum >= 1.3 && < 1.5 + -- depend on os-string on newer GHCs only. -- os-string has tight lower bound on bytestring, which prevents -- using bundled version on older GHCs.