mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
lib.types: use isType for optionType
Signed-off-by: cinereal <cinereal@riseup.net>
This commit is contained in:
parent
4a9a590d26
commit
fe13778496
1 changed files with 1 additions and 1 deletions
|
|
@ -1185,7 +1185,7 @@ rec {
|
|||
name = "optionType";
|
||||
description = "optionType";
|
||||
descriptionClass = "noun";
|
||||
check = value: value._type or null == "option-type";
|
||||
check = isType "option-type";
|
||||
merge =
|
||||
loc: defs:
|
||||
if length defs == 1 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue