Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore reading flake info from Nix itself rather than CLI commands #51

Closed
srid opened this issue Aug 24, 2023 · 2 comments
Closed

Explore reading flake info from Nix itself rather than CLI commands #51

srid opened this issue Aug 24, 2023 · 2 comments
Assignees

Comments

@srid
Copy link
Member

srid commented Aug 24, 2023

Instead of using nix flake show (and nix flake metadata) -- which reveal less information than we want -- consider adopting the devour-flake approach to inspect a flake from Nix itself, output a JSON and use that from Rust.

Examples of information lacking in CLI commands:

  • meta.description is present, but meta.longDescription (markdown formatted long description) is not.
  • Which packages (or devShells, checks, apps, etc.) are aliases of which (cf. packages.default = packages.emanote)

Brainstorming on custom metadata

(This is undecided)

  • meta.highlight = true; for flakes having numerous packages, but want to highlighting the important ones. cf. nammayatri
@srid srid self-assigned this Aug 24, 2023
@srid
Copy link
Member Author

srid commented Aug 31, 2023

@srid
Copy link
Member Author

srid commented Sep 17, 2024

Closing in favour of #248

@srid srid closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant