nix-community / crate2nix

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

Add a flake template #306

Closed lenianiva closed 8 months ago

lenianiva commented 8 months ago
  1. Added a template in template/ (from https://leni.sh/post/231021-rust-nix-environment/)
  2. Added instructions in README.md about how to use it
  3. Added an example about overlaying the Rust toolchain version
lenianiva commented 8 months ago

I would add a test to test the template but I'm not sure what is the best way to do it. Currently I test the template by copying it to a directory and running nix run.

kolloch commented 8 months ago

Thank you :)