Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to install haste-compiler #429

Open
ghost opened this issue Mar 29, 2022 · 0 comments
Open

Fail to install haste-compiler #429

ghost opened this issue Mar 29, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 29, 2022

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants