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

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

6 lines
131 B
Nix
Raw Permalink Normal View History

{ lib, ... }:
# I think this might occur more realistically in a submodule
{
imports = [ (lib.mkIf true { enable = true; }) ];
}