scientific icon indicating copy to clipboard operation
scientific copied to clipboard

Support GHC 9.12

Open andreasabel opened this issue 1 year ago • 1 comments

[__5] rejecting: base-4.21.0.0/installed-cc73 (conflict: scientific => base>=4.15 && <4.21)

andreasabel avatar Oct 17 '24 22:10 andreasabel

I was able to get it to compile and pass all tests with the diff:

diff --git a/cabal.project b/cabal.project
index e6fdbad..40efa72 100644
--- a/cabal.project
+++ b/cabal.project
@@ -1 +1,7 @@
 packages: .
+
+allow-newer:
+  , integer-logarithms:base
+  , integer-logarithms:ghc-prim
+  , hashable:base
+  , splitmix:base
diff --git a/scientific.cabal b/scientific.cabal
index aaabe13..989dd43 100644
--- a/scientific.cabal
+++ b/scientific.cabal
@@ -104,7 +104,7 @@ library
       , bytestring-builder  >=0.10.4 && <0.11
 
   else
-    build-depends: bytestring >=0.10.4 && <0.12
+    build-depends: bytestring >=0.10.4 && <0.13
 
   if impl(ghc >=9.0)
     build-depends: base >=4.15

erikd avatar Oct 23 '24 04:10 erikd

This can be closed since #102 was merged

ysangkok avatar Apr 18 '25 18:04 ysangkok