We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RUST_SRC_PATH
1 parent a4ef111 commit ef55303Copy full SHA for ef55303
nix/shell.nix
@@ -5,15 +5,12 @@ let
5
6
env = buildEnv {
7
name = "console-env";
8
- paths = [ ]
9
- ++ lib.optional stdenv.isDarwin libiconv
10
- ++ tokio-console.buildInputs
11
- ++ tokio-console.nativeBuildInputs;
+ paths = [ ] ++ lib.optional stdenv.isDarwin libiconv
+ ++ tokio-console.buildInputs ++ tokio-console.nativeBuildInputs;
12
};
13
-in
14
-mkShell {
+in mkShell {
15
buildInputs = [ env ];
16
-
+ RUST_SRC_PATH = "${rust.packages.stable.rustPlatform.rustLibSrc}";
17
CARGO_TERM_COLOR = "always";
18
RUST_BACKTRACE = "full";
19
}
0 commit comments