Skip to content
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

Open
chris-martin opened this issue Nov 18, 2021 · 1 comment
Open

Option to eliminate test dependencies #531

chris-martin opened this issue Nov 18, 2021 · 1 comment

Comments

@chris-martin
Copy link
Contributor

The --no-check flag presently seems to just set doCheck = false; in the output, but all the information related to the test suites is still there. Is there any option that can also eliminate the testHaskellDepends 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!

@maralorn
Copy link
Member

This might still be a good idea, but just fyi: You can pass lua-arbitrary = null; to the function to circumvent the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants