about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2021-12-05 19:49:38 +0300
committerVika <vika@fireburn.ru>2021-12-05 19:49:38 +0300
commitaecbb1fa798f1af4f308b24e4f85c5df41db4963 (patch)
treebf05510983680fa66708861d9a1fd5b598f898af
parent11a57326f17b4f33d8683b9d12aa63b5f3a2d41d (diff)
downloadkittybox-aecbb1fa798f1af4f308b24e4f85c5df41db4963.tar.zst
Added rust-analyzer to the dev environment
-rw-r--r--flake.nix5
1 files changed, 2 insertions, 3 deletions
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
       ];
     };