types: loeOf -> listOf

This commit is contained in:
Eric Sagnes
2016-11-05 21:46:42 +01:00
committed by Nicolas B. Pierron
parent f74d48e9fe
commit 1fe1cdecb2
4 changed files with 4 additions and 10 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ in
strings. The latter is concatenated, interspersed with colon
characters.
'';
type = types.attrsOf (types.loeOf types.str);
type = with types; attrsOf (either str (listOf str));
apply = mapAttrs (n: v: if isList v then concatStringsSep ":" v else v);
};