From aecbb1fa798f1af4f308b24e4f85c5df41db4963 Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 5 Dec 2021 19:49:38 +0300 Subject: Added rust-analyzer to the dev environment --- flake.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index c879a7f..0b0e039 100644 --- a/flake.nix +++ b/flake.nix @@ -250,9 +250,8 @@ name = "rust-dev-shell"; nativeBuildInputs = with pkgs; [ pkg-config lld - rust-bin.default - rust-bin.rls - rust-bin.rust-src + (rust-bin.default.override { extensions = [ "rust-src" ]; }) + (rust-analyzer.override { rustPlatform = with rust-bin; { rustLibSrc = rust-src; }; }) redis ]; }; -- cgit 1.4.1