Skip to content

Commit

Permalink
Allow to compile with new javascript backend
Browse files Browse the repository at this point in the history
  • Loading branch information
sevanspowell committed May 3, 2024
1 parent 78072d7 commit 222fa0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions servant-jsaddle.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ library
, text >=1.2.3.0
, transformers >=0.5.2.0

if impl(ghcjs -any)
if impl(ghcjs -any) || arch(javascript)
build-depends: ghcjs-base

-- Servant dependencies.
Expand All @@ -72,7 +72,7 @@ library
, string-conversions >=0.3 && <0.5
, transformers-base >=0.4.4 && <0.5

if impl(ghc >=8.0)
if impl(ghc >=8.0) || arch(javascript)
ghc-options: -Wno-redundant-constraints

test-suite spec
Expand All @@ -82,7 +82,7 @@ test-suite spec
hs-source-dirs: test
main-is: Spec.hs

if impl(ghcjs -any)
if impl(ghcjs -any) || arch(javascript)
build-depends:
base
, servant-jsaddle
Expand Down

0 comments on commit 222fa0d

Please sign in to comment.