From 8ebd54a5fca390518b9ac4e764b88034990fa277 Mon Sep 17 00:00:00 2001 From: ymeister <47071325+ymeister@users.noreply.github.com> Date: Sat, 3 Aug 2024 18:17:41 -0400 Subject: [PATCH] Build with ghc(js)-9.10 --- cabal.project | 3 +++ patch.cabal | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/cabal.project b/cabal.project index e6fdbadb..6210c002 100644 --- a/cabal.project +++ b/cabal.project @@ -1 +1,4 @@ packages: . + +if arch(javascript) + extra-packages: ghci diff --git a/patch.cabal b/patch.cabal index 6817319b..060a647d 100644 --- a/patch.cabal +++ b/patch.cabal @@ -37,13 +37,13 @@ flag hlint library hs-source-dirs: src default-language: Haskell2010 - build-depends: base >= 4.9 && < 4.19 + build-depends: base >= 4.9 && <= 4.21 , constraints-extras >= 0.3 && < 0.5 - , commutative-semigroups >= 0.0 && < 0.2 - , containers >= 0.6 && < 0.7 + , commutative-semigroups >= 0.0 && <= 0.2.0.1 + , containers >= 0.6 && <= 0.7 , dependent-map >= 0.3 && < 0.5 , dependent-sum >= 0.6 && < 0.8 - , lens >= 4.7 && < 5.3 + , lens >= 4.7 && <= 5.3.2 , indexed-traversable >= 0.1 && < 0.2 , semigroupoids >= 4.0 && < 7 , transformers >= 0.5.6.0 && < 0.7 @@ -86,7 +86,7 @@ test-suite tests , containers , hedgehog , HUnit - if impl(ghcjs) + if impl(ghcjs) || arch(javascript) buildable: False test-suite hlint @@ -106,7 +106,7 @@ test-suite hlint else build-depends: hlint >= 3.5 && < 3.6 - if impl(ghcjs) || !flag(hlint) + if impl(ghcjs) || arch(javascript) || !flag(hlint) buildable: False source-repository head