diff options
author | Nicolas B. Pierron <nicolas.b.pierron@gmail.com> | 2015-03-12 23:01:47 +0100 |
---|---|---|
committer | Nicolas B. Pierron <nicolas.b.pierron@gmail.com> | 2015-03-12 23:42:58 +0100 |
commit | ed91474e9b94f06a44b7aa5bda9911292f709f54 (patch) | |
tree | ddbb4b53861c4743fde7201db6b502faaee742e4 /nixos/lib | |
parent | dd4f5f6b789c7fb2cac45cb8024e87bdb13c9740 (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