nix-community / fenix

Rust toolchains and rust-analyzer nightly for Nix [maintainer=@figsoda]
Mozilla Public License 2.0
668 stars 42 forks source link

Add `fromToolchain` that takes the already-parsed TOML #135

Open lilyball opened 8 months ago

lilyball commented 8 months ago

I really want fromToolchainFile to be refactored to expose a separate fromToolchain that takes the already-parsed TOML. The use-case here is I have a rust-toolchain.toml but I need to make changes to it before giving it to fenix (and I can't just edit it directly because reasons).