From 92ee4a09d7cda11957c2db3d3ac049715f02e9b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Wed, 1 Oct 2025 15:24:12 +0200 Subject: [PATCH] Rename test to tests and tests to testList Reviewed-by: Rodrigo Arias Mallo Tested-by: Rodrigo Arias Mallo --- flake.nix | 2 +- overlay.nix | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 86cf8b8..0cdb289 100644 --- a/flake.nix +++ b/flake.nix @@ -17,7 +17,7 @@ legacyPackages.${system} = pkgs; hydraJobs = { - inherit (self.legacyPackages.${system}.bsc-ci) test pkgs cross; + inherit (self.legacyPackages.${system}.bsc-ci) tests pkgs cross; }; # propagate nixpkgs lib, so we can do bscpkgs.lib diff --git a/overlay.nix b/overlay.nix index d02e00a..4831c55 100644 --- a/overlay.nix +++ b/overlay.nix @@ -46,7 +46,7 @@ let wxparaver = callPackage ./pkgs/paraver/default.nix { }; }; - test = rec { + tests = rec { #hwloc = callPackage ./test/bugs/hwloc.nix { }; # Broken, no /sys #sigsegv = callPackage ./test/reproducers/sigsegv.nix { }; hello-c = callPackage ./test/compilers/hello-c.nix { }; @@ -101,9 +101,9 @@ let crossList = builtins.mapAttrs (t: v: buildList t (builtins.attrValues v)) cross; pkgsList = buildList "ci-pkgs" (builtins.attrValues pkgs); - tests = buildList "ci-tests" (collect isDerivation test); + testList = buildList "ci-tests" (collect isDerivation tests); - all = buildList' "ci-all" [ pkgsList tests ]; + all = buildList' "ci-all" [ pkgsList testList ]; in bscPkgs // { # Prevent accidental usage of bsc attribute @@ -112,7 +112,7 @@ in bscPkgs // { # Internal for our CI tests bsc-ci = { inherit pkgs pkgsList; - inherit test tests; + inherit tests testList; inherit cross crossList; inherit all; };