-
Notifications
You must be signed in to change notification settings - Fork 841
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
"The program happy is required but it could not be found" after building happy #157
Comments
Ugh, what a terribly ugly hack happy uses: It hard-codes that you're using the |
Ugly reasoning here: happy hard-codes that dist will be used by generating files and including them in the sdist tarball. We don't build in dist, which causes errors if happy isn't present. This fixes it. See the issue for more discussion (#157).
OK, I opted for the first route. I feel dirty now, but it seems to be working. @DanBurton confirmed? |
Confirmed. Here's how I checked:
Tested on the stackage-server repo again. |
Seeing an issue like this: commercialhaskell/stack#157 Fix from here: https://stackoverflow.com/a/39019781 With this, this (ie. building updated Ferret docs) works: git clone https://github.com/wincent/docvim.git cd docvim pacman -S stack happy bin/docvim \ -c ~/.vim/pack/bundle/opt/ferret \ ~/.vim/pack/bundle/opt/ferret/README.md \ ~/.vim/pack/bundle/opt/ferret/doc/ferret.txt
From running
stack build
on the stackage-server repo, lts-2.10.The text was updated successfully, but these errors were encountered: