diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-11-28 14:29:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 14:29:04 +0100 |
commit | 4844ca43d864f1e166ee2d900840a2cb3249ac48 (patch) | |
tree | 6485dfb90d56cfb99d8dbb58157aad743afd0409 /doc/languages-frameworks | |
parent | e308121c34006aab10afd8967fca4eb8a35b6a1b (diff) | |
parent | 2ab19787ce2ac77f7b33e85247b9b28159b4bb95 (diff) |
Merge pull request #67496 from mb21/patch-1
Docs: clarify Rust overlay on non-NixOS
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r-- | doc/languages-frameworks/rust.section.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md index 400f39c345cd..dfa1d8dab9c9 100644 --- a/doc/languages-frameworks/rust.section.md +++ b/doc/languages-frameworks/rust.section.md @@ -524,12 +524,13 @@ For example, you might want to add `latest.rustChannels.stable.rust` to the list Imperatively, the latest stable version can be installed with the following command: - $ nix-env -Ai nixos.latest.rustChannels.stable.rust + $ nix-env -Ai nixpkgs.latest.rustChannels.stable.rust Or using the attribute with nix-shell: - $ nix-shell -p nixos.latest.rustChannels.stable.rust + $ nix-shell -p nixpkgs.latest.rustChannels.stable.rust +Substitute the `nixpkgs` prefix with `nixos` on NixOS. To install the beta or nightly channel, "stable" should be substituted by "nightly" or "beta", or use the function provided by this overlay to pull a version based on a |