From b7f21582d0a63a7e477772e2d7e267acdac89f06 Mon Sep 17 00:00:00 2001 From: Emil Thorsoe Date: Tue, 27 May 2025 10:02:48 +0300 Subject: [PATCH] nixos/terminfo: ignore packages with incompatible platforms in all-terminfo test --- nixos/tests/all-terminfo.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/tests/all-terminfo.nix b/nixos/tests/all-terminfo.nix index 4b547ee47d2c..dad52834cb8b 100644 --- a/nixos/tests/all-terminfo.nix +++ b/nixos/tests/all-terminfo.nix @@ -22,7 +22,8 @@ && lib.isDerivation o.value && o.value ? outputs && builtins.elem "terminfo" o.value.outputs - && !o.value.meta.broken; + && !o.value.meta.broken + && lib.meta.availableOn pkgs.stdenv.hostPlatform o.value; terminfos = lib.filterAttrs infoFilter pkgs; excludedTerminfos = lib.filterAttrs ( _: drv: !(builtins.elem drv.terminfo config.environment.systemPackages)