Skip to content

Commit 4ccba7e

Browse files
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 <[email protected]>
1 parent d9e8ec0 commit 4ccba7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

flake.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
};
3131
aarch64_config = {
3232
nixpkgs = {
33-
buildPlatform = "aarch64-linux";
34-
hostPlatform = "aarch64-linux";
33+
buildPlatform.system = "aarch64-linux";
34+
hostPlatform.system = "aarch64-linux";
3535
};
3636
};
3737
aarch64_cross_config = {
3838
nixpkgs = {
39-
buildPlatform = "x86_64-linux";
40-
hostPlatform = "aarch64-linux";
39+
buildPlatform.system = "x86_64-linux";
40+
hostPlatform.system = "aarch64-linux";
4141
};
4242
};
4343
jetpack5_config = {

0 commit comments

Comments
 (0)