From a0461d84ba254f1d45b01548f86f345a2ad2f02c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Sat, 28 May 2022 20:03:27 +0200 Subject: [PATCH] use default rust toolchain components --- flake.nix | 3 +-- rust-toolchain.toml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 061930b..79b4819 100644 --- a/flake.nix +++ b/flake.nix @@ -58,7 +58,7 @@ # nix develop devShell = pkgs.mkShell { inputsFrom = builtins.attrValues self.packages.${system}; - buildInputs = with pkgs; [ + nativeBuildInputs = with pkgs; [ # Nix LSP + formatter rnix-lsp nixpkgs-fmt @@ -67,7 +67,6 @@ (rust-bin.fromRustupToolchainFile ./rust-toolchain.toml) cargo-watch rust-analyzer - rustfmt # Notmuch notmuch diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 055c9f0..89378c5 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,2 @@ [toolchain] channel = "1.58.1" -components = ["cargo", "rustc", "rustfmt", "rust-analysis", "clippy"]