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

error with dependency haskell-src-exts == 1.20.* #31

Closed
peterbecich opened this issue Jan 31, 2022 · 0 comments · Fixed by #32
Closed

error with dependency haskell-src-exts == 1.20.* #31

peterbecich opened this issue Jan 31, 2022 · 0 comments · Fixed by #32

Comments

@peterbecich
Copy link

Using GHC 8.6.5, if I change the bound here

haskell-src-exts >= 1.18 && < 1.24,

to haskell-src-exts == 1.20.*, this error occurs:

[2 of 5] Compiling Language.Haskell.Meta.Syntax.Translate ( src/Language/Haskell/Meta/Syntax/Translate.hs, .../haskell-src-meta/dist-newstyle/build/x86_64-linux/ghc-8.6.5/haskell-src-meta-0.8.8/build/Language/Haskell/Meta/Syntax/Translate.o ) [Language.Haskell.Exts.Syntax changed]

src/Language/Haskell/Meta/Syntax/Translate.hs:493:19: error:
    Not in scope: data constructor ‘Exts.DerivVia’
    Perhaps you meant ‘Exts.Deriving’ (imported from Language.Haskell.Exts.Syntax)
    Module ‘Language.Haskell.Exts.Syntax’ does not export ‘DerivVia’.
    |
493 | toDerivStrategy [email protected]{}      = noTHyet "toDerivStrategy" "2.14" d
    |                   ^^^^^^^^^^^^^
cabal: Failed to build haskell-src-meta-0.8.8 (which is required by test:unit
from haskell-src-meta-0.8.8, test:splices from haskell-src-meta-0.8.8 and
others).

GHC 8.6.5 is used by CodeWorld: google/codeworld#1566 (comment)

Thanks

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

Successfully merging a pull request may close this issue.

1 participant