Skip to content

Commit c1f76ab

Browse files
authored
Merge pull request #146 from mlabs-haskell/connor/fix-rust-analyzer
Fix rust-analyzer complaining about sys root not found
2 parents cf007de + 9bdffea commit c1f76ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras/flake-rust.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pkgs:
33
{ crane, src, crateName, extraSources ? [ ], extraSourcesDir ? ".extras", data ? [ ], dataDir ? "data", devShellHook ? "", devShellTools ? [ ] }:
44
let
55
rustWithTools = pkgs.rust-bin.stable.latest.default.override {
6-
extensions = [ "rustfmt" "rust-analyzer" "clippy" ];
6+
extensions = [ "rustfmt" "rust-analyzer" "clippy" "rust-src" ];
77
};
88
craneLib = crane.lib.${pkgs.system}.overrideToolchain rustWithTools;
99

0 commit comments

Comments
 (0)