nixpkgs/lib/tests/modules/types-anything/functions.nix
2020-09-15 21:06:05 +02:00

18 lines
252 B
Nix

{ lib, ... }: {
options.value = lib.mkOption {
type = lib.types.anything;
};
config = lib.mkMerge [
{
value.single-lambda = x: x;
value.multiple-lambdas = x: x;
}
{
value.multiple-lambdas = x: x;
}
];
}