let inherit (builtins) concatStringsSep attrValues mapAttrs; inherit (import ./utils.nix) optionalString squash; in builtinsInfo: let showBuiltin = name: { doc, type, impure-only }: let type' = optionalString (type != null) " (${type})"; impureNotice = optionalString impure-only '' > **Note** > > Not available in [pure evaluation mode](@docroot@/command-ref/conf-file.md#conf-pure-eval). ''; in squash ''
${name}${type'}
${doc} ${impureNotice}
''; in concatStringsSep "\n" (attrValues (mapAttrs showBuiltin builtinsInfo))