Skip to content

Commit 3f5120e

Browse files
committed
Tweak docs
1 parent 55b946e commit 3f5120e

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ Running `nix develop` will create a shell with the default nightly Rust toolchai
153153
stable = {
154154
# The latest stable toolchain.
155155
latest = {
156-
# [Experimental]
157156
# Profiles, predefined component sets.
158157
# See: https://rust-lang.github.io/rustup/concepts/profiles.html
159158
minimal = «derivation»; # Only `cargo`, `rustc` and `rust-std`.
@@ -211,8 +210,7 @@ Some examples (assume `nixpkgs` had the overlay applied):
211210

212211
- Latest stable/beta/nightly rust with almost all components (provided the same as `mozilla-overlay`):
213212
`nixpkgs.rust-bin.{stable,beta,nightly}.latest.rust`
214-
- *\[Experimental\]*
215-
Latest stable/beta/nightly rust with `default` or `minimal` profile (provided the same as default behavior of `rustup install`).
213+
- Latest stable/beta/nightly rust with `default` or `minimal` profile (provided the same as default behavior of `rustup install`).
216214
`nixpkgs.rust-bin.{stable,beta,nightly}.latest.{default,minimal}`
217215

218216
Note: `default` profile on `nightly` may not always be available due to absense of required components.

rust-overlay.nix

+7-8
Original file line numberDiff line numberDiff line change
@@ -559,22 +559,21 @@ let
559559

560560
in {
561561
# For each channel:
562-
# rust-bin.stable.latest.cargo
563-
# rust-bin.stable.latest.rust # Aggregate all others. (recommended)
562+
# rust-bin.stable.latest.{minimal,default,complete} # Profiles.
563+
# rust-bin.stable.latest.rust # Pre-aggregate from upstream.
564+
# rust-bin.stable.latest.cargo # Components...
564565
# rust-bin.stable.latest.rustc
565-
# rust-bin.stable.latest.rust-analysis
566566
# rust-bin.stable.latest.rust-docs
567-
# rust-bin.stable.latest.rust-src
568-
# rust-bin.stable.latest.rust-std
567+
# ...
569568
#
570569
# For a specific version of stable:
571-
# rust-bin.stable."1.47.0".rust
570+
# rust-bin.stable."1.47.0".default
572571
#
573572
# For a specific date of beta:
574-
# rust-bin.beta."2021-01-01".rust
573+
# rust-bin.beta."2021-01-01".default
575574
#
576575
# For a specific date of nightly:
577-
# rust-bin.nightly."2020-01-01".rust
576+
# rust-bin.nightly."2020-01-01".default
578577
rust-bin = with builtins;
579578
(super.rust-bin or {}) //
580579
mapAttrs (channel: mapAttrs (version: toolchainFromManifest)) super.rust-bin.manifests //

0 commit comments

Comments
 (0)