depot/third_party/nixpkgs/lib/tests/modules/module-argument-default.nix

10 lines
139 B
Nix
Raw Normal View History

{ a ? false, lib, ... }: {
options = {
result = lib.mkOption {};
};
config = {
_module.args.a = true;
result = a;
};
}