1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

tests: create no-big and ifd test outputs.

Allows flake access to override easier.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-06-02 22:03:27 -05:00
parent f8008b5602
commit a08adba6e0
No known key found for this signature in database

View file

@ -51,8 +51,32 @@
renameTestPkg = n: lib.nameValuePair "integration-test-${n}";
in
lib.mapAttrs' renameTestPkg tests;
testAllNoBig =
let
tests = import ./. {
inherit pkgs;
enableBig = false;
};
in
testPackages // integrationTestPackages
lib.nameValuePair "test-all-no-big" tests.build.all;
testAllNoBigIfd =
let
tests = import ./. {
inherit pkgs;
enableBig = false;
enableLegacyIfd = true;
};
in
lib.nameValuePair "test-all-no-big-ifd" tests.build.all;
in
testPackages
// integrationTestPackages
// (lib.listToAttrs [
testAllNoBig
testAllNoBigIfd
])
);
};
}