From 91488fb6db834e134e999612b9025ef8901559c8 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 9 May 2023 13:08:00 +0000 Subject: lib.systems: remove (accidental?) rust/rustc alias I imagine this was supposed to be rustc = args.rustc, like the other two lines. This meant that we accepted both rust and rustc attributes, with the same effect. I doubt anybody was using the undocumented, probably-accidental "rust" spelling, but we should remove it before somebody starts. In fact, we don't need to set rustc here at all, because no value platforms.select could return will ever include a rustc key (unlike the other two), so then rustc will be filled in later, when args is merged into final. --- lib/systems/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/systems/default.nix') diff --git a/lib/systems/default.nix b/lib/systems/default.nix index 0494d365d6ba8..f4784c61c6752 100644 --- a/lib/systems/default.nix +++ b/lib/systems/default.nix @@ -121,7 +121,7 @@ rec { ({ linux-kernel = args.linux-kernel or {}; gcc = args.gcc or {}; - rustc = args.rust or {}; + rustc = args.rustc or {}; } // platforms.select final) linux-kernel gcc rustc; -- cgit 1.4.1