mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
docs: Small change to Rust guide to be more cross friendly
This commit is contained in:
parent
84557733f7
commit
fcce28f1af
1 changed files with 7 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue