summaryrefslogtreecommitdiffstats
path: root/nixos/lib
diff options
context:
space:
mode:
authorNicolas B. Pierron <nicolas.b.pierron@gmail.com>2015-03-12 23:01:47 +0100
committerNicolas B. Pierron <nicolas.b.pierron@gmail.com>2015-03-12 23:42:58 +0100
commited91474e9b94f06a44b7aa5bda9911292f709f54 (patch)
treeddbb4b53861c4743fde7201db6b502faaee742e4 /nixos/lib
parentdd4f5f6b789c7fb2cac45cb8024e87bdb13c9740 (diff)
Share common code for merging option definitions.
This move idioms which were used in `evalOptionValue` and in the `merge` functions of `listOf` and `attrsOf` types, such that we can use a names such as `isDefined` and `optionalValue` instead or repeating identical comparisons of `defsFinal == []`.
Diffstat (limited to 'nixos/lib')
0 files changed, 0 insertions, 0 deletions