···100100 value.</para></listitem>
101101 </varlistentry>
102102 <varlistentry>
103103- <term><varname>types.loeOf</varname> <replaceable>t</replaceable></term>
104104- <listitem><para>A list or an element of <replaceable>t</replaceable> type.
105105- Multiple definitions are merged according to the
106106- values.</para></listitem>
107107- </varlistentry>
108108- <varlistentry>
109103 <term><varname>types.nullOr</varname> <replaceable>t</replaceable></term>
110104 <listitem><para><literal>null</literal> or type
111105 <replaceable>t</replaceable>. Multiple definitions are merged according
+1-1
nixos/modules/config/shells-environment.nix
···4141 strings. The latter is concatenated, interspersed with colon
4242 characters.
4343 '';
4444- type = types.attrsOf (types.loeOf types.str);
4444+ type = with types; attrsOf (either str (listOf str));
4545 apply = mapAttrs (n: v: if isList v then concatStringsSep ":" v else v);
4646 };
4747
+1-1
nixos/modules/config/system-environment.nix
···2323 strings. The latter is concatenated, interspersed with colon
2424 characters.
2525 '';
2626- type = types.attrsOf (types.loeOf types.str);
2626+ type = with types; attrsOf (either str (listOf str));
2727 apply = mapAttrs (n: v: if isList v then concatStringsSep ":" v else v);
2828 };
2929