blob: af5ef20fd0b448b8702bc3c93916626e0a2a37a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# NOTE: This file **must** not depend on `pkgs`. This is because `pkgs` is defined in a
# module imported by it, and thus would require infinite recursion. <2024-10-18>
{...}: let
nixLib = import ../lib {};
files =
builtins.attrValues
(nixLib.mkByName {
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;
}
|