-
Notifications
You must be signed in to change notification settings - Fork 697
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
Documentation for build-tools #1466
Comments
There is some documentation here, but it could definitely be improved.
The programs known to
No.
You only need to list |
Is this issue resolved by the current docs? http://cabal.readthedocs.io/en/latest/developing-packages.html?highlight=build-tools#pkg-field-build-tool-depends |
Docs now list acceptable values in great detail, so I'm quite sure this is fixed. |
This link does not point to a description of Here is a short reference: https://cabal.readthedocs.io/en/latest/cabal-package.html#pkg-field-build-tool-depends |
@andreasabel Maybe we should cross-link those sections |
Is there documentation for the build-tools option of the cabal file? If so, where can I find it.
In particular I would like to know:
how to use build-tools, what programs (other than alex and happy) are legal arguments to the build-tools options, how and in what order the build-tools are run?
Some other questions I have are:
Do alex and happy (or any tools for that matter) need to be included in the build-depends argument list?
Do the AlexScannerFile.x and HappyParserFile.y need to be included somewhere in the cabal file?
Do the files generated by Alex and Happy -- the AlexScannerFile.hs and HappyParserFile.hs -- need to be in other-modules?
Thank you for your help!!
The text was updated successfully, but these errors were encountered: