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!
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!