Understand the Fenix Toolchain structure
mainA Fenix toolchain is an attribute set containing various components and helper functions.
Components:
cargo: The cargo package.rustc: The rustc package includingrust-std.rustc-unwrapped: The rustc package withoutrust-std.rustfmt: An alias torustfmt-preview.rust-src: The source code for the standard library.
Derivations:
toolchain: A derivation containing all components.minimalToolchain,defaultToolchain,completeToolchain: Derivations based on specific profiles (not available in nightly toolchains).
Functions:
withComponents : [string] -> derivation: Creates a derivation with a specific list of components.combine : [derivation] -> derivation: Combines a list of components into a single derivation (usewithComponentsif components are from the same toolchain).fromManifest,fromManifestFile,toolchainOf,fromToolchainFile,fromToolchainName: Functions to create toolchains from various manifest formats or names.