From e8c2b48719f23cbe1a1efbfee9ee5f021c95fbef Mon Sep 17 00:00:00 2001 From: eyjhb Date: Sun, 6 Oct 2024 11:06:07 +0200 Subject: [PATCH] always add rust-std for the default target --- src/modules/languages/rust.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/languages/rust.nix b/src/modules/languages/rust.nix index 5f05d3f7e..c803fd7d1 100644 --- a/src/modules/languages/rust.nix +++ b/src/modules/languages/rust.nix @@ -211,7 +211,7 @@ in packages = [ (combine "rust-mixed" ( - (map (c: cfg.toolchain.${c}) cfg.components) ++ + (map (c: cfg.toolchain.${c}) (cfg.components ++ [ "rust-std" ])) ++ (map (t: toolchain._components.${t}.rust-std) cfg.targets) )) ];