Move rust components to devShell instead of global rust-toolchain
This commit is contained in:
parent
7b82088d90
commit
c2ec1d9504
2 changed files with 1 additions and 3 deletions
|
@ -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
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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"]
|
Loading…
Reference in a new issue