-
Notifications
You must be signed in to change notification settings - Fork 38
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
Building tests via cabal fails when adding dependencies hspec and trifecta #73
Comments
With sandboxes you could |
@phadej I did something like that earlier - since it mentioned the package was broken - with --force-reinstalls and then everything built. Isn't there any way to get cabal to reliably run the tests on |
Let me ask this: why are you trying to put a downstream dependency of As @phadej notes in #73 (comment), you can sometimes make this work by manually installing the dependencies before configuring your project. But even then it's not always guaranteed to work, as #72 (and bos/vector-binary-instances#8) demonstrate. Cyclic dependencies is simply not a tenable approach at the moment. I don't know what your intentions are with this project, but my recommendation is to separate the test suite into a separate In any case, this is not a bug with |
@RyanGlScott My intention with the project was to provide some tests/examples for using parsers, and those tests depended on trifecta also. It is unfortunate that in this scenario tests do not work with cabal but work fine with stack. |
To reproduce:
Building using
stack test
works fine.The text was updated successfully, but these errors were encountered: