forked from mirrors/nixpkgs
check-meta: don't use with
This commit is contained in:
parent
215951e4c8
commit
0527676bd9
|
@ -11,6 +11,7 @@ let
|
|||
concatMapStringsSep
|
||||
concatStrings
|
||||
findFirst
|
||||
isDerivation
|
||||
length
|
||||
mapAttrsToList
|
||||
mergeDefinitions
|
||||
|
@ -279,7 +280,19 @@ let
|
|||
in eval.success;
|
||||
|
||||
# TODO make this into a proper module and use the generic option documentation generation?
|
||||
metaTypes = with lib.types; rec {
|
||||
metaTypes = let
|
||||
inherit (lib.types)
|
||||
anything
|
||||
attrsOf
|
||||
bool
|
||||
either
|
||||
int
|
||||
listOf
|
||||
mkOptionType
|
||||
str
|
||||
unspecified
|
||||
;
|
||||
in rec {
|
||||
# These keys are documented
|
||||
description = str;
|
||||
mainProgram = str;
|
||||
|
|
Loading…
Reference in a new issue