summaryrefslogtreecommitdiffstats
path: root/doc/languages-frameworks/rust.section.md
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2018-12-13 02:05:30 -0500
committerJörg Thalheim <joerg@thalheim.io>2018-12-18 06:09:34 +0100
commitfcce28f1af9e89cbce9d0c32899af25240c1d751 (patch)
treec74a4fee0d45d757d49ef9f777c17f4fe28e9da0 /doc/languages-frameworks/rust.section.md
parent84557733f772f60db1d8a48a5aaeeca9513d56f7 (diff)
docs: Small change to Rust guide to be more cross friendly
Diffstat (limited to 'doc/languages-frameworks/rust.section.md')
-rw-r--r--doc/languages-frameworks/rust.section.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md
index 4549bbd1686b..14b36f55f52f 100644
--- a/doc/languages-frameworks/rust.section.md
+++ b/doc/languages-frameworks/rust.section.md
@@ -303,11 +303,15 @@ with import <nixpkgs> {};
stdenv.mkDerivation {
name = "rust-env";
- buildInputs = [
+ nativeBuildInputs = [
rustc cargo
- # Example Additional Dependencies
- pkgconfig openssl
+ # Example Build-time Additional Dependencies
+ pkgconfig
+ ];
+ buildInputs = [
+ # Example Run-time Additional Dependencies
+ openssl
];
# Set Environment Variables