nixpkgs/lib/tests/modules/freeform-deprecated-malicous-wrong2.nix
2025-09-06 12:29:16 +02:00

20 lines
261 B
Nix

# 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;
};
}