rust: use rust-analyzer
This commit is contained in:
parent
e6f88d9273
commit
4f2a047eb4
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
apps.default = utils.lib.mkApp {drv = packages.default;};
|
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
|
devShells.default = let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
pkgs.devshell.mkShell {
|
pkgs.devshell.mkShell {
|
||||||
packages = with pkgs; [(rust.override {extensions = ["rls"];})];
|
packages = with pkgs; [(rust.override {extensions = ["rust-src"];}) rust-analyzer];
|
||||||
};
|
};
|
||||||
formatter = pkgs.alejandra;
|
formatter = pkgs.alejandra;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue