From 29b2c51391c486be378ee56e765c31f87f667be4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 17 Jun 2025 18:49:13 +0200 Subject: [PATCH] clan-nixos-test: add individual vars-checks back The consolidated vars-check was too slow to eval. Individual vars-checks allow for better parallelization. --- lib/flake-parts/clan-nixos-test.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/lib/flake-parts/clan-nixos-test.nix b/lib/flake-parts/clan-nixos-test.nix index 7125a3838..9ee4fee58 100644 --- a/lib/flake-parts/clan-nixos-test.nix +++ b/lib/flake-parts/clan-nixos-test.nix @@ -69,19 +69,7 @@ in ) ) cfg) - # Add a single vars-check that depends on all others XXX if we ever - # optimize buildbot to perform better with many builds we can - # remove this and just run the individual vars-checks to speed up - # parallel evaluation. - (lib.optionalAttrs (varsChecks != {}) { - vars-check = pkgs.runCommand "vars-check-all" { - buildInputs = lib.attrValues varsChecks; - } '' - echo "All vars checks passed:" - ${lib.concatMapStringsSep "\n" (name: "echo ' ✓ ${name}'") (lib.attrNames varsChecks)} - touch $out - ''; - }) + varsChecks ] ); }