From 7cdeedd873f76969f3144b7052c6f594d8b37bf8 Mon Sep 17 00:00:00 2001 From: Hamish Mackenzie Date: Tue, 7 May 2024 12:16:24 +1200 Subject: [PATCH] Add upper bound on ghcjs-base back into -jsffi PR #105 relaxed the `ghcjs-base` bound on `ghcjs-dom-jsffi`, but the fix was for `ghcjs-dom-javascript`. We should not be using both `ghcjs-dom-jsffi` and `ghcjs-dom-javascript` at the same time. Packages should either depend on `ghcjs-dom` only (and let it choose the correct implementation library) or do something like: ``` if impl(ghc >9) build-depends: ghcjs-dom-javascript else build-depends: ghcjs-dom-jsffi ``` --- ghcjs-dom-jsffi/ghcjs-dom-jsffi.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghcjs-dom-jsffi/ghcjs-dom-jsffi.cabal b/ghcjs-dom-jsffi/ghcjs-dom-jsffi.cabal index d641709a..55182329 100644 --- a/ghcjs-dom-jsffi/ghcjs-dom-jsffi.cabal +++ b/ghcjs-dom-jsffi/ghcjs-dom-jsffi.cabal @@ -24,7 +24,7 @@ library build-depends: base <5, transformers >=0.2 && <0.7, text >= 0.11.0.6 && < 2.2, - ghcjs-base >=0.2.0.0, + ghcjs-base >=0.2.0.0 && <0.3, ghc-prim default-language: Haskell2010