lib/options.nix: Use merge-friendly inherit syntax

This commit is contained in:
Robert Hensing 2020-10-22 13:45:25 +02:00
parent afa6c51f27
commit c9f8f66248

View File

@ -3,12 +3,37 @@
let
inherit (lib)
isAttrs isBool isDerivation isFunction isInt isList isString
all collect concatMap concatLists elemAt filter foldl' head length mapAttrs optionals optional take
all
collect
concatLists
concatMap
elemAt
filter
foldl'
head
isAttrs
isBool
isDerivation
isFunction
isInt
isList
isString
length
mapAttrs
optional
optionals
take
;
inherit (lib.attrsets)
optionalAttrs
;
inherit (lib.strings)
concatMapStrings
concatStringsSep
;
inherit (lib.types)
mkOptionType
;
inherit (lib.attrsets) optionalAttrs;
inherit (lib.strings) concatMapStrings concatStringsSep;
inherit (lib.types) mkOptionType;
in
rec {