query
On this page

loaOf

lib.types.loaOf

Docs pulled from | This Revision | 35 minutes ago


TODO: deprecate this in the future:


Noogle detected

Implementation

The following is the current implementation of this function.

loaOf =
    elemType:
    lib.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;
    };