From c1a54af676c62d54a2674ef4ce5fd40c0575159f Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 28 Oct 2026 17:13:15 +0100 Subject: flake: Only expose these tests in `checks` which are not broken --- flake.nix | 2 +- scripts/check_get_tests.nix | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index d1baea7..817621b 100644 --- a/flake.nix +++ b/flake.nix @@ -133,7 +133,7 @@ rocie.nixosModules.default ]; - tests = import ./tests {inherit pkgs specialArgs nixLib;}; + tests = pkgs.lib.attrsets.filterAttrs (_: v: !(v ? meta && v.meta.broken)) (import ./tests {inherit pkgs specialArgs nixLib;}); vhackPackages = import ./pkgs {inherit pkgs nixLib pkgsUnstable;}; hosts = import ./hosts {inherit pkgs nixLib nixpkgs specialArgs extraModules;}; diff --git a/scripts/check_get_tests.nix b/scripts/check_get_tests.nix index a39d300..4271a3e 100644 --- a/scripts/check_get_tests.nix +++ b/scripts/check_get_tests.nix @@ -11,6 +11,4 @@ let in lib.strings.concatStringsSep "\n" (builtins.attrNames - (lib.filterAttrs - (name: test: test.meta.broken == false) - outputs.checks.x86_64-linux)) + outputs.checks.x86_64-linux) -- cgit v1.3.1