summary refs log tree commit diff
path: root/doc/languages-frameworks/rust.md
diff options
context:
space:
mode:
authorVaibhav Sagar <vaibhavsagar@gmail.com>2017-11-24 14:12:02 +0800
committerVaibhav Sagar <vaibhavsagar@gmail.com>2017-11-24 15:26:37 +0800
commit1349174b1b7f0c4c966e021edd35b98c61f0b54a (patch)
tree0fd3b49386b0c288025136031ac44423a6f9929d /doc/languages-frameworks/rust.md
parent193c4c5701604016b565bdb0eba87489586ffe9d (diff)
downloadnixpkgs-1349174b1b7f0c4c966e021edd35b98c61f0b54a.tar
nixpkgs-1349174b1b7f0c4c966e021edd35b98c61f0b54a.tar.gz
nixpkgs-1349174b1b7f0c4c966e021edd35b98c61f0b54a.tar.bz2
nixpkgs-1349174b1b7f0c4c966e021edd35b98c61f0b54a.tar.lz
nixpkgs-1349174b1b7f0c4c966e021edd35b98c61f0b54a.tar.xz
nixpkgs-1349174b1b7f0c4c966e021edd35b98c61f0b54a.tar.zst
nixpkgs-1349174b1b7f0c4c966e021edd35b98c61f0b54a.zip
doc: rust is an attribute set, not a package
Using `rust` instead of `rustc cargo` doesn't work in either `systemPackages` or `nix-shell -p`
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