1
0
Fork 0

add targetPlatforms to buildRustPackage

This commit is contained in:
Simon Renblad 2024-10-31 11:41:08 +08:00
parent 37d55367b3
commit 88727fdb6b
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@
}).rust.override { }).rust.override {
inherit targets; inherit targets;
extensions = ["rust-src"]; extensions = ["rust-src"];
targetPlatforms = [];
}; };
rust = rustChannelOfTargets "nightly" null rustTargets; rust = rustChannelOfTargets "nightly" null rustTargets;
rustPlatform = pkgs.recurseIntoAttrs (pkgs.makeRustPlatform { rustPlatform = pkgs.recurseIntoAttrs (pkgs.makeRustPlatform {