cabal install haste-compiler fails in Haskell 8.10.7 (in ghcup) with the error:
[ 7 of 25] Compiling Data.JSTarget.PP ( src/Data/JSTarget/PP.hs, dist/build/hastec/hastec-tmp/Data/JSTarget/PP.o )
src/Data/JSTarget/PP.hs:188:10: error:
Duplicate instance declarations:
instance IsString Builder
-- Defined at src/Data/JSTarget/PP.hs:188:10
instance IsString Builder -- Defined in ‘Data.ByteString.Builder’
|
188 | instance IsString Builder where
| ^^^^^^^^^^^^^^^^
cabal: Failed to build exe:haste-boot from haste-compiler-0.2.3. See the build
log above for details.
Failed to build exe:haste-copy-pkg from haste-compiler-0.2.3. See the build
log above for details.
Failed to build exe:hastec from haste-compiler-0.2.3. See the build log above
for details.
cabal install haste-compiler
fails in Haskell 8.10.7 (in ghcup) with the error: