repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
vuls: init at 0.27.0
[NixPkgs.git]
/
lib
/
tests
/
modules
/
define-enable-with-top-level-mkIf.nix
blob
4909c16d82b454f5e1037cc6fd9bfab5287d6b7e
1
{ lib, ... }:
2
# I think this might occur more realistically in a submodule
3
{
4
imports = [ (lib.mkIf true { enable = true; }) ];
5
}