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`
This commit is contained in:
Vaibhav Sagar 2017-11-24 14:12:02 +08:00
parent 193c4c5701
commit 1349174b1b

View file

@ -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