mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-04 12:42:21 +00:00
lib/types: be more strict in mergeless list checks
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I90ce0f42984ffbca9dfbdf4d97d2fc636a6a6964
This commit is contained in:
parent
04c8715279
commit
40a69d81c1
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ in {
|
|||
mkOptionType {
|
||||
name = "mergelessListOf";
|
||||
description = "mergeless list of ${elemType.description or "values"}";
|
||||
check = listOf elemType.check or (x: true);
|
||||
inherit (lib.types.listOf elemType) check;
|
||||
merge = mergeEqualOption;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue