Module system's merging algorithm and differences between lib.mkMerge
, lib.mkIf
& lib.attrsets.mergeAttrsList
, lib.optionals
.
#106
Labels
enhancement
New feature or request
Related to:
lib.mkMerge
&lib.mkIf
is used by module system for lazy evaluation & mergeing, whilelib.attrsets.mergeAttrsList
&lib.optionals
is only little nix functions. It's recommend to uselib.mkMerge
&lib.mkIf
only insideimports = [ ... ]
andconfig = { ... }
.The text was updated successfully, but these errors were encountered: