From 7b915dbbcac3e3de692c0805c5b90a83013b91e7 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 4 Dec 2024 22:52:47 +0800 Subject: [PATCH] mcu: add missing attributes on rustc --- mcu-contrib/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mcu-contrib/default.nix b/mcu-contrib/default.nix index b670130..6527371 100644 --- a/mcu-contrib/default.nix +++ b/mcu-contrib/default.nix @@ -20,7 +20,12 @@ let }; rust = rustChannelOfTargets "nightly" null targets; rustPlatform = pkgs.recurseIntoAttrs (pkgs.makeRustPlatform { - rustc = rust; + rustc = rust // { + # https://github.com/oxalica/rust-overlay/commit/c48c2d76b68dd9ede0815fec53479375c61af857 + targetPlatforms = pkgs.lib.platforms.all; + tier1TargetPlatforms = pkgs.lib.platforms.all; + badTargetPlatforms = [ ]; + }; cargo = rust; });