mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-12 05:16:25 +03:00
lib/types: remove loaOf
This commit is contained in:
parent
76672661b9
commit
c8c538f2ab
1 changed files with 0 additions and 9 deletions
|
@ -558,15 +558,6 @@ rec {
|
||||||
nestedTypes.elemType = elemType;
|
nestedTypes.elemType = elemType;
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: drop this in the future:
|
|
||||||
loaOf = elemType: types.attrsOf elemType // {
|
|
||||||
name = "loaOf";
|
|
||||||
deprecationMessage = "Mixing lists with attribute values is no longer"
|
|
||||||
+ " possible; please use `types.attrsOf` instead. See"
|
|
||||||
+ " https://github.com/NixOS/nixpkgs/issues/1800 for the motivation.";
|
|
||||||
nestedTypes.elemType = elemType;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Value of given type but with no merging (i.e. `uniq list`s are not concatenated).
|
# Value of given type but with no merging (i.e. `uniq list`s are not concatenated).
|
||||||
uniq = elemType: mkOptionType rec {
|
uniq = elemType: mkOptionType rec {
|
||||||
name = "uniq";
|
name = "uniq";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue