From fcce28f1af9e89cbce9d0c32899af25240c1d751 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Thu, 13 Dec 2018 02:05:30 -0500 Subject: [PATCH] docs: Small change to Rust guide to be more cross friendly --- doc/languages-frameworks/rust.section.md | 10 +++++++--- 1 file 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 {}; 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