summary refs log tree commit diff
path: root/doc/languages-frameworks/rust.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/languages-frameworks/rust.md')
-rw-r--r--doc/languages-frameworks/rust.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/languages-frameworks/rust.md b/doc/languages-frameworks/rust.md
index 7c6955af812..bedda76a306 100644
--- a/doc/languages-frameworks/rust.md
+++ b/doc/languages-frameworks/rust.md
@@ -9,11 +9,12 @@ date: 2017-03-05
 To install the rust compiler and cargo put
 
 ```
-rust
+rustc
+cargo
 ```
 
 into the `environment.systemPackages` or bring them into
-scope with `nix-shell -p rust`.
+scope with `nix-shell -p rustc cargo`.
 
 For daily builds (beta and nightly) use either rustup from
 nixpkgs or use the [Rust nightlies