Add rust-analyzer to rust template
This commit is contained in:
parent
1f2f58c977
commit
d1ccdcb3dc
1 changed files with 3 additions and 1 deletions
|
|
@ -14,6 +14,7 @@
|
|||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
fenixPkgs = fenix.packages.${system};
|
||||
craneLib = crane.lib.${system};
|
||||
src = craneLib.cleanCargoSource (craneLib.path ./.);
|
||||
|
||||
|
|
@ -33,7 +34,7 @@
|
|||
};
|
||||
|
||||
craneLibLLvmTools = craneLib.overrideToolchain
|
||||
(fenix.packages.${system}.complete.withComponents [
|
||||
(fenixPkgs.complete.withComponents [
|
||||
"cargo"
|
||||
"llvm-tools"
|
||||
"rustc"
|
||||
|
|
@ -115,6 +116,7 @@
|
|||
|
||||
# Extra inputs can be added here; cargo and rustc are provided by default.
|
||||
packages = [
|
||||
fenixPkgs.rust-analyzer
|
||||
# pkgs.ripgrep
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue