Files
nixpkgs/lib/tests/modules/module-argument-default.nix

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

15 lines
146 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
a ? false,
lib,
...
}:
{
options = {
result = lib.mkOption { };
};
config = {
_module.args.a = true;
result = a;
};
}