lib/options.nix: Use merge-friendly inherit syntax
This commit is contained in:
parent
afa6c51f27
commit
c9f8f66248
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user