From 88727fdb6ba84d3b5f5dafaf9d429c8c14181720 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Thu, 31 Oct 2024 11:41:08 +0800 Subject: [PATCH] add targetPlatforms to buildRustPackage --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index d2d7aa6..4b6751e 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,7 @@ }).rust.override { inherit targets; extensions = ["rust-src"]; + targetPlatforms = []; }; rust = rustChannelOfTargets "nightly" null rustTargets; rustPlatform = pkgs.recurseIntoAttrs (pkgs.makeRustPlatform {