Skip to content

Commit 5d44d58

Browse files
committed
fix(Add RUSTC_BOOTSTRAP to devshell)
1 parent 9bb6380 commit 5d44d58

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

flake.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979
# Env vars
8080
# a nightly compiler is required unless we use this cheat code.
81-
RUSTC_BOOTSTRAP = 0;
81+
RUSTC_BOOTSTRAP = 1;
8282

8383
# CFG_RELEASE = "${rustPlatform.rust.rustc.version}-stable";
8484
CFG_RELEASE_CHANNEL = "stable";
@@ -104,6 +104,8 @@
104104
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
105105
RUST_BACKTRACE = "full";
106106
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;
107+
RUSTC_BOOTSTRAP = 1;
108+
CFG_RELEASE_CHANNEL = "stable";
107109
};
108110
}
109111
);

rust-toolchain.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ components = [
66
"rustfmt",
77
"clippy",
88
"rust-analyzer",
9+
"rust-src"
910
]
1011
profile = "minimal"

0 commit comments

Comments
 (0)