From c9c857ecc92ec9959c55d627a5f8d64cd925b042 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 20 Jul 2025 12:54:59 +0200 Subject: [PATCH] ubootLibreTechCC: use meta.broken instead of assert This allows filtering the attrpath in CI properly for Eval. --- pkgs/misc/uboot/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index 8142ede3407d..bf3d628da1d6 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -310,10 +310,12 @@ in meta.license = lib.licenses.unfreeRedistributableFirmware; }; in - assert stdenv.buildPlatform.system == "x86_64-linux"; # aml_encrypt_gxl is a x86_64 binary buildUBoot { defconfig = "libretech-cc_defconfig"; - extraMeta.platforms = [ "aarch64-linux" ]; + extraMeta = { + broken = stdenv.buildPlatform.system != "x86_64-linux"; # aml_encrypt_gxl is a x86_64 binary + platforms = [ "aarch64-linux" ]; + }; filesToInstall = [ "u-boot.bin" ]; postBuild = '' # Copy binary files & tools from LibreELEC/amlogic-boot-fip, and u-boot build to working dir