diff options
author | Vaibhav Sagar <vaibhavsagar@gmail.com> | 2017-11-24 14:12:02 +0800 |
---|---|---|
committer | Vaibhav Sagar <vaibhavsagar@gmail.com> | 2017-11-24 15:26:37 +0800 |
commit | 1349174b1b7f0c4c966e021edd35b98c61f0b54a (patch) | |
tree | 0fd3b49386b0c288025136031ac44423a6f9929d /doc | |
parent | 193c4c5701604016b565bdb0eba87489586ffe9d (diff) |
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')
-rw-r--r-- | doc/languages-frameworks/rust.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/languages-frameworks/rust.md b/doc/languages-frameworks/rust.md index 7c6955af812bc..bedda76a30665 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 |