flake: add missing attributes on rustc (for nixpkgs-unstable compat)

This commit is contained in:
Sebastien Bourdeauducq 2024-11-16 17:31:34 +08:00
parent 8c404829ef
commit 12975de2e1
1 changed files with 6 additions and 1 deletions

View File

@ -16,7 +16,12 @@
targets = [ ]; targets = [ ];
}; };
rustPlatform = pkgs.makeRustPlatform { 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; cargo = rust;
}; };