Created
June 30, 2020 20:07
-
-
Save rawkode/e168417a6d9084ca47c7741a8cfa5f4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
stdenv.mkDerivation { | |
name = "rust-env"; | |
nativeBuildInputs = [ | |
rustc cargo rustracerrustfmt rls | |
# Example Build-time Additional Dependencies | |
pkgconfig | |
]; | |
buildInputs = [ | |
# Example Run-time Additional Dependencies | |
openssl | |
]; | |
# Set Environment Variables | |
RUST_BACKTRACE = 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment