Skip to content

Conversation

gcurtis
Copy link
Collaborator

@gcurtis gcurtis commented Apr 10, 2023

This expression generates a JSON blob containing the metadata for every derivation in nixpkgs, similar to that of hydra's packages.json. It differs in that it also includes the store path for each package and contains the system that generated the index. The system field lets us know which packages can actually be evaluated for a given system, which tends to differ from the systems that claim to be supported in the metadata.

This isn't used anywhere yet, but it can be manually called as a script to generate the JSON for prototyping or debugging.

This expression generates a JSON blob containing the metadata for every
derivation in nixpkgs, similar to that of hydra's `packages.json`. It
differs in that it also includes the store path for each package and
contains the system that generated the index. The system field lets us
know which packages can actually be evaluated for a given system, which
tends to differ from the systems that claim to be supported in the
metadata.

This isn't used anywhere yet, but it can be manually called as a script
to generate the JSON for prototyping or debugging.
@gcurtis gcurtis requested review from loreto, mikeland73 and ipince April 10, 2023 20:27
Signed-off-by: Greg Curtis <greg.curtis@jetpack.io>
@gcurtis gcurtis merged commit ee7e5af into main Apr 11, 2023
@gcurtis gcurtis deleted the gcurtis/indexexpr branch April 11, 2023 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants