summaryrefslogtreecommitdiffstats
path: root/lib/tests/modules/freeform-deprecated-malicous-wrong2.nix
blob: 62c2a7befeb5ce30339e63f8ac8ed83d19673538 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# freeeformType should have been (attrsOf either)
# This should also print the warning
{
  config.either = {
    int = 42;
  };

  config.eitherBehindNullor = {
    int = 42;
  };

  config.oneOf = {
    int = 42;
  };

  config.number = {
    str = 42;
  };
}