aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/data/empty_pattern.nix
blob: 2df54457a161d4f1757d7ee01b99b204be009b05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[
  # match
  ({ ... }: 42)

  # don't match
  ({ a, ... }: a)
  ({ ... } @ inputs: inputs)

  # nixos module, don't match
  ({ ... }: {
    imports = [
      ./module.nix
      /path/to/absolute/module.nix
    ];
  })
]