core/lib/tests/modules/define-enable-with-top-level-mkIf.nix

6 lines
131 B
Nix
Raw Normal View History

2024-05-01 22:14:04 +00:00
{ lib, ... }:
# I think this might occur more realistically in a submodule
{
imports = [ (lib.mkIf true { enable = true; }) ];
}