diff options
author | Akshay <[email protected]> | 2022-01-29 04:43:41 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2022-01-29 04:43:41 +0000 |
commit | 8e4eeb979ebaa8f0f461e66d986a75c3a80220b6 (patch) | |
tree | 0896cb957eac28a15b6d802437ed5806894526be /bin/tests | |
parent | 479e3a272e3f0f7465eced511880c97037bf1fe9 (diff) |
do not raise empty_pattern on nixos modules
Diffstat (limited to 'bin/tests')
-rw-r--r-- | bin/tests/data/empty_pattern.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/tests/data/empty_pattern.nix b/bin/tests/data/empty_pattern.nix index 23d99e8..2df5445 100644 --- a/bin/tests/data/empty_pattern.nix +++ b/bin/tests/data/empty_pattern.nix | |||
@@ -5,5 +5,13 @@ | |||
5 | # don't match | 5 | # don't match |
6 | ({ a, ... }: a) | 6 | ({ a, ... }: a) |
7 | ({ ... } @ inputs: inputs) | 7 | ({ ... } @ inputs: inputs) |
8 | |||
9 | # nixos module, don't match | ||
10 | ({ ... }: { | ||
11 | imports = [ | ||
12 | ./module.nix | ||
13 | /path/to/absolute/module.nix | ||
14 | ]; | ||
15 | }) | ||
8 | ] | 16 | ] |
9 | 17 | ||