mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
nixos/terminfo: ignore broken packages in all-terminfo test
This commit is contained in:
parent
3f84b6a6e4
commit
fe978b9691
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user