You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be a naive question, but might it be possible to generate Gleam types for the entire nixpkgs package set and nixos/home-manager/nix-darwin option set? That could be a "killer" feature, having type checking and autocomplete for nixpkgs and options. Obviously the result would be pretty large but if it could be generated automatically on a regular basis I think it would probably work fine as package names and options don't usually change very fast after they're defined in nixpkgs.
The text was updated successfully, but these errors were encountered:
Given that documentation for nixos/home-manager/nix-darwin/nixpkgs gets generated from their respective nix sources it seems this would probably be possible. I'm just not sure how feasible it is.
A quick look at make-options-doc and I see that it can already output JSON. Depending on what sort of type information can be extracted from that it might be fairly straightforward!
This may be a naive question, but might it be possible to generate Gleam types for the entire nixpkgs package set and nixos/home-manager/nix-darwin option set? That could be a "killer" feature, having type checking and autocomplete for nixpkgs and options. Obviously the result would be pretty large but if it could be generated automatically on a regular basis I think it would probably work fine as package names and options don't usually change very fast after they're defined in nixpkgs.
The text was updated successfully, but these errors were encountered: