-
Notifications
You must be signed in to change notification settings - Fork 94
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
Dependency on happy #14
Comments
bump
|
Corresponding cabal issue: haskell/cabal#220 |
Another couple related Gitub issues, both depending on this package:
|
Can't "happy" be declared as a system dependency, so at least cabal knows what's missing? This problem trickles down to dependents and can be very annoying to track down. |
+1 this should be added to the dependencies |
All those who suggest that happy should be added to the dependencies: does that resolve your problem if happy is not in your path? |
All that matters is that we know why the build failed. |
To clarify, the build could fail much sooner in dependency resolution instead of build phase with an easy check: "I need happy; is it on the path? No. Fail immediately." |
And I'm asking whether the build fails with a proper error message if you have happy installed but not in your path. |
happy is an executable, not library. GHC doesn't track it in its package database, and you cannot depend on it in the cabal file (the dependency will never be satisfied, regardless of whether happy is installed and/or in PATH). This issue isn't about adding a line to the cabal file. Rather it's about:
|
Hello, I just encountered a problem installing |
Fairly sure this is fixed now by |
Just a note, this isn't fixed yet as of the released version
After manually running |
HSE has an implicit dependency on happy for the parser. If happy isn't already installed then cabal install HSE doesn't work, it would be great if this could be fixed. This problem has shown up for real users trying to install both derive and hlint - failing when installing HSE because of the lack of happy.
Related to this deficiency in cabal-install: http://hackage.haskell.org/trac/hackage/ticket/227
The text was updated successfully, but these errors were encountered: