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

cargoDoctest #719

Open
9999years opened this issue Oct 12, 2024 · 0 comments · May be fixed by #720
Open

cargoDoctest #719

9999years opened this issue Oct 12, 2024 · 0 comments · May be fixed by #720
Labels
enhancement New feature or request

Comments

@9999years
Copy link
Contributor

Is your feature request related to a problem? Please describe.

cargo-nextest doesn't support doctests yet (nextest-rs/nextest#16), so you need a separate derivation to run cargo test --doc.

However, cargoTest overwrites the pnameSuffix in the input, so I can't name the derivation my-package-doctest instead of my-package-test, and it's confusing to have that and my-package-nextest being built in tandem.

Describe the solution you'd like
A cargoDoctest function as a shortcut for this behavior.

Describe alternatives you've considered
The ability to override mkCargoDerivation would be nice, but that's a bigger lift.

@9999years 9999years added the enhancement New feature or request label Oct 12, 2024
@9999years 9999years linked a pull request Oct 12, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant