diff --git a/lib/types/custom.nix b/lib/types/custom.nix index ace9ff1c..8e8be8a2 100644 --- a/lib/types/custom.nix +++ b/lib/types/custom.nix @@ -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; };