Skip to content

Commit

Permalink
Fix rust-analyzer in nix flake
Browse files Browse the repository at this point in the history
Added "rust-src" component which is necessary for rust-analyzer in
nix flake.

PS: Sorry for all the nix PRs, I think this is the last one...
  • Loading branch information
A-Walrus committed Mar 21, 2023
1 parent 8d4872a commit 08d195a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
let toolchainToml = (builtins.fromTOML (builtins.readFile ../rust-toolchain.toml)).toolchain; in
{
channel = toolchainToml.channel;
components = toolchainToml.components ++ [ "rust-analyzer" ];
components = toolchainToml.components ++ [ "rust-analyzer" "rust-src" ];
}
);
craneLib = (crane.mkLib pkgs).overrideToolchain rustToolchain;
Expand Down

0 comments on commit 08d195a

Please sign in to comment.