From d42ddddd298fe21d65a82e597826e85b95398cf3 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 13 Nov 2024 17:56:52 -0800 Subject: [PATCH] rust-src --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index b5a7705..fd704ac 100644 --- a/flake.nix +++ b/flake.nix @@ -28,7 +28,9 @@ default = import ./shell.nix { inherit pkgs; additionalBuildInputs = [ - (pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default)) + (pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override { + extensions = [ "rust-src" ]; + })) ]; }; });