nixpkgs/lib/tests/modules/custom-arg-define-enable.nix
2015-03-16 22:38:41 +01:00

8 lines
98 B
Nix

{ lib, custom, ... }:
{
config = {
_module.args.custom = true;
enable = custom;
};
}