mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-11 18:23:18 +01:00
20 lines
261 B
Nix
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;
|
|
};
|
|
}
|