-
Notifications
You must be signed in to change notification settings - Fork 710
cabal sdist runs alex and happy on the maintainers machine #1685
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
Comments
and it says something that both manuel and I find this behavior quite surprising! |
See #130. We want to associate metadata with each pre-generated file so that in the preprocess phase we could tell whether the file was produced by an older version of a preprocessor than the one installed. |
@23Skidoo why is it run on the maintainers side rather than the builder's side? |
is this for any module that has preprocessing (eg when I include a suitable pragma for some custom preprocessor), or just certain ones that are "portable" and have special status like Happy and Alex?! Not every preprocessor is system independent! |
Yes, it happens only for platform-independent preprocessors. I think that the main rationale for this feature is bootstrapping (for example, |
gotcha |
|
Duplicate of #130 (literally the oldest issue). |
cabal sdist runs alex and happy on the maintainers machine, and I think that any
.y
.x
files should be processed in the client users side. Otherwise, when a breaking change happens to alex and happy and associated GHC versions, like 7.8, every lib maintainer which has a lib using alex and happy have to prepare a fresh sdist using a newer alex and happy, (they have to do this even if nothing in the code has otherwise changed!!!)I've hit this with pandoc jgm/pandoc#1136
and others have it it with language-c haskell/c2hs#64#issuecomment-35059925 (which seems to be unmaintained)
The text was updated successfully, but these errors were encountered: