Last active
July 22, 2021 19:36
-
-
Save plchldr/4da95294deb3014ea55cdd53b2905223 to your computer and use it in GitHub Desktop.
This file contains 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> {}; | |
let | |
rust = rustChannels.stable.rust.override { extensions = [ "rust-src" ]; }; | |
in | |
stdenv.mkDerivation { | |
name = "rust-env"; | |
buildInputs = [ rust rustracer rustfmt ]; | |
RUST_SRC_PATH = "${rust}/lib/rustlib/src/rust/src/"; | |
} | |
#test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment