Merge pull request #206809 from SuperSandro2000/loaOf

This commit is contained in:
Sandro 2022-12-25 21:39:52 +01:00 committed by GitHub
commit f3ae2deafb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -558,15 +558,6 @@ rec {
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).
uniq = elemType: mkOptionType rec {
name = "uniq";