-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
Option to eliminate test dependencies #531
Comments
This might still be a good idea, but just fyi: You can pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
--no-check
flag presently seems to just setdoCheck = false;
in the output, but all the information related to the test suites is still there. Is there any option that can also eliminate thetestHaskellDepends
field, and remove from the top-level function arguments any packages that are only required by a test suite?Motivation: I'm trying to build packages which have test dependencies that aren't in my package set. For example, hslua-marshalling has a test dependency on lua-arbitrary, a package which was uploaded to Hackage for the first time only a month ago. The function fails to evaluate (
called without required argument 'lua-arbitrary'
) -- for no good reason, as far as I can see, because I'm not running the tests anyway!The text was updated successfully, but these errors were encountered: