From ec824becc8a835cf60d614744cd200ce5f127625 Mon Sep 17 00:00:00 2001 From: DavHau Date: Sat, 25 May 2024 10:37:50 +0200 Subject: [PATCH] blog: fix typo on jsonschema post --- docs/site/blog/posts/jsonschema.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/site/blog/posts/jsonschema.md b/docs/site/blog/posts/jsonschema.md index 6297add3..0fb42758 100644 --- a/docs/site/blog/posts/jsonschema.md +++ b/docs/site/blog/posts/jsonschema.md @@ -177,7 +177,7 @@ JSON schema mandates the declaration of all required fields upfront, which might Certain NixOS module types, like `types.functionTo` and `types.package`, do not map straightforwardly to JSON. For full compatibility, adjustments to NixOS modules might be necessary, such as substituting `listOf package` with `listOf str`. -### Parsing NixOS Modules2 +### Parsing NixOS Modules Currently, our converter relies on the `options` attribute of evaluated NixOS modules, extracting information from the `type.name` attribute, which is suboptimal. Enhanced introspection capabilities within the NixOS module system would be beneficial.