about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2023-12-02 03:16:34 +0100
committerGitHub <noreply@github.com>2023-12-02 03:16:34 +0100
commit08999b8e15ef1b3899f897b3a1eabfae8664f58a (patch)
tree5c11aa2a4ab834e1d243577e0f8893f8b6954230 /nixos
parent3ee54c174ee8195eb2008fa2199458d40527b91f (diff)
parentfe978b9691a68cba75903f4090828aef3616117b (diff)
downloadnixlib-08999b8e15ef1b3899f897b3a1eabfae8664f58a.tar
nixlib-08999b8e15ef1b3899f897b3a1eabfae8664f58a.tar.gz
nixlib-08999b8e15ef1b3899f897b3a1eabfae8664f58a.tar.bz2
nixlib-08999b8e15ef1b3899f897b3a1eabfae8664f58a.tar.lz
nixlib-08999b8e15ef1b3899f897b3a1eabfae8664f58a.tar.xz
nixlib-08999b8e15ef1b3899f897b3a1eabfae8664f58a.tar.zst
nixlib-08999b8e15ef1b3899f897b3a1eabfae8664f58a.zip
Merge pull request #271160 from ethorsoe/terminfo
nixos/terminfo: ignore broken packages in all-terminfo test
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/all-terminfo.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/tests/all-terminfo.nix b/nixos/tests/all-terminfo.nix
index dd47c66ee1c1..2f5e56f09f26 100644
--- a/nixos/tests/all-terminfo.nix
+++ b/nixos/tests/all-terminfo.nix
@@ -10,7 +10,11 @@ import ./make-test-python.nix ({ pkgs, ... }: rec {
         let
           o = builtins.tryEval drv;
         in
-        o.success && lib.isDerivation o.value && o.value ? outputs && builtins.elem "terminfo" o.value.outputs;
+        o.success &&
+        lib.isDerivation o.value &&
+        o.value ? outputs &&
+        builtins.elem "terminfo" o.value.outputs &&
+        !o.value.meta.broken;
       terminfos = lib.filterAttrs infoFilter pkgs;
       excludedTerminfos = lib.filterAttrs (_: drv: !(builtins.elem drv.terminfo config.environment.systemPackages)) terminfos;
       includedOuts = lib.filterAttrs (_: drv: builtins.elem drv.out config.environment.systemPackages) terminfos;