Files
nixpkgs/lib/tests/modules/freeform-deprecated-malicous-wrong2.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
261 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
# 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;
};
}