about summary refs log tree commit diff
path: root/lib/tests/modules/define-enable-with-top-level-mkIf.nix
blob: 4909c16d82b454f5e1037cc6fd9bfab5287d6b7e (plain) (blame)
1
2
3
4
5
{ lib, ... }:
# I think this might occur more realistically in a submodule
{
  imports = [ (lib.mkIf true { enable = true; }) ];
}