query
On this page

loaOf

lib.types.loaOf

Docs pulled from | This Revision | about 1 hour ago


TODO: deprecate this in the future:


Noogle detected

Implementation

The following is the current implementation of this function.

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;
        };