rust-overlay is a drop-in replacement of nixpkgs-mozilla’s rust overlay, supporting almost ARBITRARY version of rust toolchains from ALL three channels with FULLY customization support for components and targets. And of course, with Flake support.
- Fully customizable binary distributed rust with all optional components and targets provided by upstream, from stable, beta and nightly channels. All versions later than 1.29.0 or 2018-09-13 are available. (Just currently. May include more early toolchains in the future)
- Pure and no eval-time downloading. Flake support.
- Toolchain selection by
rust-toolchainfile (Both TOML and single-line format are supported).
rust-bin.distRootif you prefer a rustup mirror, without triggering any rebuild.
- Fully compatible with nixpkgs-mozilla’s rust overlay interface.
rustChannelOfand etc. are all available and functional as nixpkgs-mozilla. Though the new
rust-bininterface is recommended. (Helper functions which require network access are still removed.)
- Daily auto update with GitHub Action.
GitHub - mozilla/nixpkgs-mozilla: mozilla related nixpkgs (extends nixos/nixpkgs repo)
The original work. It requires eval-time network access which is not pure and made it incompatible with Nix Flakes.
GitHub - figsoda/fenix: Rust nightly toolchains and rust analyzer nightly for nix
Another flake-compatible replacement for mozilla-overlay with only the latest nightly toolchain. So it doesn’t support stable, beta or arbitrary-date nightly toolchains, and lacks of version-selection support.