nix-community / crate2nix

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

Add docs about custom toolchains #363

Closed surma closed 3 weeks ago

surma commented 1 month ago

I have found no documentation on how to use crate2nix with a custom toolchain.

After a bunch of fiddling I came up with an solution and thought I’d provide a PR to add this as documentation.

That being said: I am not sure this is the intended way to provide a custom toolchain. I am happy to adapt the PR if anyone is so kind to show me a better way to do this.

kolloch commented 3 weeks ago

Thanks! I just merged another approach as well :)