From aa56d3ce9f1ea82590222809adf3e90f767d7a69 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sat, 12 Aug 2023 12:32:51 -0700 Subject: [PATCH] Install rust-src in devshell to fix intellisense issues --- flake.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 982937d..816d9ef 100644 --- a/flake.nix +++ b/flake.nix @@ -27,7 +27,12 @@ }; in { devShells.${system}.default = with pkgs; mkShell { - packages = [ bacon ]; + packages = [ + (pkgs.rust-bin.stable.latest.default.override { + extensions = [ "rust-src" ]; + }) + bacon + ]; inputsFrom = with self.packages.${system}; [ tatoeba images ]; }; packages.${system} = {