core/lib/tests/modules/module-argument-default.nix

10 lines
139 B
Nix
Raw Normal View History

2024-05-01 22:14:04 +00:00
{ a ? false, lib, ... }: {
options = {
result = lib.mkOption {};
};
config = {
_module.args.a = true;
result = a;
};
}