use default rust toolchain components

This commit is contained in:
Clément DOUIN 2022-05-28 20:03:27 +02:00
parent 3f5feed0ff
commit a0461d84ba
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72
2 changed files with 1 additions and 3 deletions

View file

@ -58,7 +58,7 @@
# nix develop # nix develop
devShell = pkgs.mkShell { devShell = pkgs.mkShell {
inputsFrom = builtins.attrValues self.packages.${system}; inputsFrom = builtins.attrValues self.packages.${system};
buildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
# Nix LSP + formatter # Nix LSP + formatter
rnix-lsp rnix-lsp
nixpkgs-fmt nixpkgs-fmt
@ -67,7 +67,6 @@
(rust-bin.fromRustupToolchainFile ./rust-toolchain.toml) (rust-bin.fromRustupToolchainFile ./rust-toolchain.toml)
cargo-watch cargo-watch
rust-analyzer rust-analyzer
rustfmt
# Notmuch # Notmuch
notmuch notmuch

View file

@ -1,3 +1,2 @@
[toolchain] [toolchain]
channel = "1.58.1" channel = "1.58.1"
components = ["cargo", "rustc", "rustfmt", "rust-analysis", "clippy"]