Skip to content

Commit 8ebd54a

Browse files
committed
Build with ghc(js)-9.10
1 parent 625ecd5 commit 8ebd54a

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

cabal.project

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
packages: .
2+
3+
if arch(javascript)
4+
extra-packages: ghci

patch.cabal

+6-6
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ flag hlint
3737
library
3838
hs-source-dirs: src
3939
default-language: Haskell2010
40-
build-depends: base >= 4.9 && < 4.19
40+
build-depends: base >= 4.9 && <= 4.21
4141
, constraints-extras >= 0.3 && < 0.5
42-
, commutative-semigroups >= 0.0 && < 0.2
43-
, containers >= 0.6 && < 0.7
42+
, commutative-semigroups >= 0.0 && <= 0.2.0.1
43+
, containers >= 0.6 && <= 0.7
4444
, dependent-map >= 0.3 && < 0.5
4545
, dependent-sum >= 0.6 && < 0.8
46-
, lens >= 4.7 && < 5.3
46+
, lens >= 4.7 && <= 5.3.2
4747
, indexed-traversable >= 0.1 && < 0.2
4848
, semigroupoids >= 4.0 && < 7
4949
, transformers >= 0.5.6.0 && < 0.7
@@ -86,7 +86,7 @@ test-suite tests
8686
, containers
8787
, hedgehog
8888
, HUnit
89-
if impl(ghcjs)
89+
if impl(ghcjs) || arch(javascript)
9090
buildable: False
9191

9292
test-suite hlint
@@ -106,7 +106,7 @@ test-suite hlint
106106
else
107107
build-depends: hlint >= 3.5 && < 3.6
108108

109-
if impl(ghcjs) || !flag(hlint)
109+
if impl(ghcjs) || arch(javascript) || !flag(hlint)
110110
buildable: False
111111

112112
source-repository head

0 commit comments

Comments
 (0)