Skip to content

Commit

Permalink
Merge pull request #1710 from A-Walrus/fix_flake
Browse files Browse the repository at this point in the history
Fix rust-analyzer in nix flake
  • Loading branch information
hannobraun authored Mar 21, 2023
2 parents 7059342 + cc2f8db commit 60bd509
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 60bd509

Please sign in to comment.