From 1349174b1b7f0c4c966e021edd35b98c61f0b54a Mon Sep 17 00:00:00 2001 From: Vaibhav Sagar Date: Fri, 24 Nov 2017 14:12:02 +0800 Subject: 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` --- doc/languages-frameworks/rust.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/languages-frameworks/rust.md') 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 -- cgit 1.4.1