Move rust components to devShell instead of global rust-toolchain

This commit is contained in:
Florian RICHER 2024-06-02 12:55:53 +02:00
parent 7b82088d90
commit c2ec1d9504
2 changed files with 1 additions and 3 deletions

View file

@ -25,11 +25,10 @@
devShells = { devShells = {
default = pkgs.mkShell { default = pkgs.mkShell {
buildInputs = [ buildInputs = [
rust (rust.override { extensions = ["rust-src" "rust-analyzer"]; })
nodejs nodejs
pkgs.cargo-leptos pkgs.cargo-leptos
pkgs.dart-sass pkgs.dart-sass
pkgs.rust-analyzer
]; ];
}; };
}; };

View file

@ -1,4 +1,3 @@
[toolchain] [toolchain]
channel = "nightly" channel = "nightly"
components = ["rust-std", "rust-src", "rustc-dev" ]
targets = ["wasm32-unknown-unknown"] targets = ["wasm32-unknown-unknown"]