docs: Small change to Rust guide to be more cross friendly

This commit is contained in:
John Ericson 2018-12-13 02:05:30 -05:00 committed by Jörg Thalheim
parent 84557733f7
commit fcce28f1af
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
1 changed files with 7 additions and 3 deletions

View File

@ -303,11 +303,15 @@ with import <nixpkgs> {};
stdenv.mkDerivation { stdenv.mkDerivation {
name = "rust-env"; name = "rust-env";
buildInputs = [ nativeBuildInputs = [
rustc cargo rustc cargo
# Example Additional Dependencies # Example Build-time Additional Dependencies
pkgconfig openssl pkgconfig
];
buildInputs = [
# Example Run-time Additional Dependencies
openssl
]; ];
# Set Environment Variables # Set Environment Variables