From 12975de2e110d7948bf47b768559f727d0abc8fc Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 16 Nov 2024 17:31:34 +0800 Subject: [PATCH] flake: add missing attributes on rustc (for nixpkgs-unstable compat) --- flake.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index d43222e..5793736 100644 --- a/flake.nix +++ b/flake.nix @@ -16,7 +16,12 @@ targets = [ ]; }; rustPlatform = 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; };