From 4ccba7e96f471c187981d491e111163fd5661803 Mon Sep 17 00:00:00 2001 From: Brian McGillion Date: Mon, 3 Nov 2025 20:23:51 +0400 Subject: [PATCH] system: fix the new property tree for system buildPlatform and hostPlatform no longer act as the system definition. They now contain a system property that has been enforced to be used by nixpkgs and system will be set through `nixpkgs.{host,build}Platform.system`. Signed-off-by: Brian McGillion --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 15f69ec8..095f6265 100644 --- a/flake.nix +++ b/flake.nix @@ -30,14 +30,14 @@ }; aarch64_config = { nixpkgs = { - buildPlatform = "aarch64-linux"; - hostPlatform = "aarch64-linux"; + buildPlatform.system = "aarch64-linux"; + hostPlatform.system = "aarch64-linux"; }; }; aarch64_cross_config = { nixpkgs = { - buildPlatform = "x86_64-linux"; - hostPlatform = "aarch64-linux"; + buildPlatform.system = "x86_64-linux"; + hostPlatform.system = "aarch64-linux"; }; }; jetpack5_config = {