Skip to content

Commit

Permalink
fix: rust_analyzer issues with flake
Browse files Browse the repository at this point in the history
  • Loading branch information
TornaxO7 authored Dec 15, 2023
1 parent e40068a commit d88a9e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
inherit system overlays;
};

rust-toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
rust-toolchain = (pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml).override {
extensions = [ "rust-analyzer" ];
};

in
with pkgs;
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.67.0"
components = ["rust-src", "rust-analyzer", "rustfmt"]
components = ["rust-src", "rustfmt"]

0 comments on commit d88a9e0

Please sign in to comment.