@@ -524,12 +524,13 @@ For example, you might want to add `latest.rustChannels.stable.rust` to the list
524524
525525Imperatively, the latest stable version can be installed with the following command:
526526
527− $ nix-env -Ai nixos.latest.rustChannels.stable.rust
527+ $ nix-env -Ai nixpkgs.latest.rustChannels.stable.rust
528528
529529Or using the attribute with nix-shell:
530530
531− $ nix-shell -p nixos.latest.rustChannels.stable.rust
531+ $ nix-shell -p nixpkgs.latest.rustChannels.stable.rust
532532
533+Substitute the `nixpkgs` prefix with `nixos` on NixOS.
533534To install the beta or nightly channel, "stable" should be substituted by
534535"nightly" or "beta", or
535536use the function provided by this overlay to pull a version based on a