cabal2nix icon indicating copy to clipboard operation
cabal2nix copied to clipboard

Add options for --omit-tests and --omit-benchmarks

Open locallycompact opened this issue 1 year ago • 0 comments

This address this https://github.com/NixOS/cabal2nix/issues/531

Kind of, it's independent of the dontCheck attribute. If --no-check isn't on but --omit-tests is, then the build will fail with a missing dependency. I'm not sure how to split this out properly but it gets rid of the unnecessary evaluation inputs in the case where the tests aren't used.

locallycompact avatar Jan 20 '23 18:01 locallycompact