diff options
author | Vika <vika@fireburn.ru> | 2021-12-05 19:49:38 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-12-05 19:49:38 +0300 |
commit | aecbb1fa798f1af4f308b24e4f85c5df41db4963 (patch) | |
tree | bf05510983680fa66708861d9a1fd5b598f898af | |
parent | 11a57326f17b4f33d8683b9d12aa63b5f3a2d41d (diff) | |
download | kittybox-aecbb1fa798f1af4f308b24e4f85c5df41db4963.tar.zst |
Added rust-analyzer to the dev environment
-rw-r--r-- | flake.nix | 5 |
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 ]; }; |