Skip to content

Commit 22a56dd

Browse files
authored
fix: add rust-analyzer to flake.nix and rust-toolchain.toml (#114)
This PR adds `rust-analyzer` to the Nix dev shell and the pinned Rust toolchain to improve editor tooling when working with this repository. See issue for details: #113 Closes #113.
1 parent 626e8fe commit 22a56dd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
zlib
5959
jq
6060
gnumake
61+
rust-analyzer
6162
];
6263

6364
env = {

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
22
channel = "nightly-2024-11-29"
3-
components = ["llvm-tools", "rustc-dev", "rust-src"]
3+
components = ["llvm-tools", "rustc-dev", "rust-src", "rust-analyzer"]

0 commit comments

Comments
 (0)