nix-community / crate2nix

rebuild only changed crates in CI with crate2nix and nix
https://nix-community.github.io/crate2nix/
Apache License 2.0
354 stars 83 forks source link

Use the rust-specific config #212

Closed Ericson2314 closed 2 years ago

Ericson2314 commented 2 years ago

Per the TODO, we could leverage Nixpkgs to do this better still, but it isn't terribly convenient at this time. I rather do it after the other cross PRs are merged.

Ericson2314 commented 2 years ago

203 and #212 need tests, but it's unfortunately a bit tricky to make some that are not slow.

Ericson2314 commented 2 years ago

I'm not longer worried about testing this so much, because now that it uses a function and isn't conditional, the ball is more in Nixpkgs court (there is a single code path on the create2nix side).

So merely ensuring that existing functionality still works should be good.