rust: use rust-analyzer

This commit is contained in:
Sam W 2023-10-11 15:00:26 +01:00
parent e6f88d9273
commit 4f2a047eb4
1 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
apps.default = utils.lib.mkApp {drv = packages.default;};
# Provide a dev env with rust and rls
# Provide a dev env with rust and rust-analyzer
devShells.default = let
pkgs = import nixpkgs {
inherit system;
@ -43,7 +43,7 @@
};
in
pkgs.devshell.mkShell {
packages = with pkgs; [(rust.override {extensions = ["rls"];})];
packages = with pkgs; [(rust.override {extensions = ["rust-src"];}) rust-analyzer];
};
formatter = pkgs.alejandra;
});