diff --git a/nix/flake.nix b/nix/flake.nix index 8b3f949240..f0511f9fa7 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -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;