Tested on GHC-9.0.2 and GHC-9.2.4, without tests: cabal build -w ghc-9.2.4 --disable-tests --constraint='mtl>=2.3' --constraint='transformers>0.6' --allow-newer=insert-ordered-containers:transformers
Tests currently don't compile due to the use of doctest, which breaks on the GHC dependency, which cabal-install tries to rebuild even though it shouldn't (ghc the library can't be built from hackage, if i understand correctly)
Co-authored-by: @matobet
Cherry-picked from https://github.com/GetShopTV/swagger2/commit/b8048f37671a984005e5fb0f4e4f18b5d51e5d25
Tested on GHC-9.0.2 and GHC-9.2.4, without tests:
cabal build -w ghc-9.2.4 --disable-tests --constraint='mtl>=2.3' --constraint='transformers>0.6' --allow-newer=insert-ordered-containers:transformers
Tests currently don't compile due to the use of doctest, which breaks on the GHC dependency, which cabal-install tries to rebuild even though it shouldn't (ghc the library can't be built from hackage, if i understand correctly)