From 225e8c019836b23eeb7eefa1cbf5c0f2394cb76f Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Sun, 7 Sep 2025 12:28:25 +0100 Subject: [PATCH] ci: build all-packages-defaults on all platforms --- tests/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/default.nix b/tests/default.nix index 5ca8bf0d..0c9f3d94 100644 --- a/tests/default.nix +++ b/tests/default.nix @@ -41,7 +41,6 @@ let selfPackages = self.packages.${system}; misc = { - all-package-defaults = callTest ./all-package-defaults.nix { }; extra-args-tests = callTest ./extra-args.nix { }; extend = callTest ./extend.nix { }; extra-files = callTest ./extra-files.nix { }; @@ -61,6 +60,11 @@ let docs-user-configs = linkFarm "user-configs-tests" selfPackages.docs.user-configs.tests; }; + packages = { + # Checks that all package defaults we specify can actually be built + all-package-defaults = callTest ./all-package-defaults.nix { }; + }; + # These are always built on all systems, even when `allSystems = false` platforms = callTests ./platforms { }; @@ -85,8 +89,9 @@ let in { # TODO: consider whether all these tests are needed in the `checks` output - flakeCheck = misc // docs // platforms // mainDrv; + flakeCheck = misc // docs // platforms // packages // mainDrv; # TODO: consider whether all these tests are needed to be built by buildbot - buildbot = lib.optionalAttrs (system == "x86_64-linux") (misc // docs) // platforms // mainGrouped; + buildbot = + lib.optionalAttrs (system == "x86_64-linux") (misc // docs) // platforms // packages // mainGrouped; }