Closed iphydf closed 6 years ago
Why are you trying to compile that file?
To avoid https://github.com/tweag/rules_haskell/issues/101. Why does the source tarball contain a file that doesn't compile?
I think this is a packaging mistake sorry. By default, cabal sdist
doesn't include the generate files in the tarballs. You should generate them using happy
.
The InternalParser.hs file in the source package does not compile.
The .ly file needs to be compiled with
happy -gc
(or-agc
), otherwise you get a syntax error when compiling the .hs file: