From 7cbeaa437565e2154ae68835e244b9164de660f6 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 23 Nov 2024 10:25:54 +0100 Subject: tests({tests,modules}): Couple via a co-import --- modules/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/default.nix') diff --git a/modules/default.nix b/modules/default.nix index 3364c3db..af5ef20f 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -9,6 +9,13 @@ baseDirectory = ./by-name; fileName = "module.nix"; finalizeFunction = name: value: value; + + coImportsNameFunction = { + shard, + name, + }: + ../tests/by-name + "/${shard}" + "/${name}" + "/test.nix"; + coImportsWarnMessageObject = "test"; }); in { imports = files; -- cgit 1.4.1