diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-12-19 08:31:10 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-12-19 08:31:43 +0100 |
commit | c8c538f2ab2432f2dd1eb637657c1bf5b54a147f (patch) | |
tree | 50b3d9eb2826e70f450075f86c2459dbb0ac81b3 /lib | |
parent | 76672661b9b8cf731e2cd87984f701937e8df655 (diff) |
lib/types: remove loaOf
Diffstat (limited to 'lib')
-rw-r--r-- | lib/types.nix | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/types.nix b/lib/types.nix index 270ac1748c796..e7e8a99e5743b 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -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"; |