Open lovesegfault opened 5 years ago
This sounds like a very bad workaround. Wouldn't it be easier just create the Nix formula?
@kennytm Sure, and in my case that's what I'm doing right now, but I meant to open the issue with a more generic idea, and not so much as 'how can I solve with for Nix'.
I want to use cargo-kcov in a deployment, but while it is easy for me to guarantee that kcov is available in the CI environment, making sure cargo-kcov is there as well isn't so easy, since there are no Nix formulas for it.
It would be nice if I could just call a function from build.rs that ran cargo-kcov, or perhaps call it from a 'shim' test, this way I can just embed it as a rust dependency.
Is there any way to currently do this? Is there interest in supporting this?