docs: Small change to Rust guide to be more cross friendly
This commit is contained in:
parent
84557733f7
commit
fcce28f1af
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue