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

Fix compilation with Cabal 3.12 #64

Merged
merged 1 commit into from
Sep 14, 2024
Merged

Conversation

alt-romes
Copy link
Contributor

@alt-romes alt-romes commented Sep 12, 2024

It appears that a change in Cabal 3.12 has caused the dummy Lexer.hs file to no longer be shadowed by the one produced from Lexer.x which causes compilation to fail with cabal-3.12 install fast-tags

Moreover, it no longer seems necessary, since cabal repl successfully loads the project even when Lexer.hs does not exist in the source (only Lexer.x does)

The simple solution seems to simply delete this hacky Lexer.hs file from the source.

It appears that a change in Cabal 3.12 has caused the dummy Lexer.hs
file to no longer be shadowed by the one produced from Lexer.x

Moreover, it no longer seems necessary, since `cabal repl` successfully
loads the project even when Lexer.hs does not exist in the source (only
Lexer.x does)

The simple solution seems to simply delete this hacky Lexer.hs file from
the source.
@alt-romes alt-romes changed the title Fix compilation with more recent Cabal Fix compilation with Cabal 3.12 Sep 12, 2024
@elaforge elaforge merged commit 775527d into elaforge:master Sep 14, 2024
0 of 10 checks passed
@elaforge
Copy link
Owner

It looks like cabal repl is fine without Lexer.hs even in cabal 3.10. Thanks for the fix!

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 this pull request may close these issues.

2 participants