-
Notifications
You must be signed in to change notification settings - Fork 16
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
Metadata #74
Comments
Discussed this with @lorenzleutgeb today. One thing we realised is that NixOS/rfcs#140 with Similarly, as I've been pointing out for a while now, the notion of a package is practically nonexistent in the Nix ecosystem, and what Therefore an alternative proposal for Each directory has the following structure:
This follows @infinisil's direction that directory structure should not matter when accessed from the outside (it's an implementation detail that only contributors should have to care about), and to instead emphasize the language-level interfaces. |
Discussed with @lorenzleutgeb Some updates on these ideas (not final, but we seem to be converging):
|
I'd like to suggest to add metadata to the packages:
What this enables:
Alternative: Instead of encoding this information as meta-attributes of derivations, we could also have a "registry", e.g. files
projects/${project}.nix
or so which contains a reference to the packages that are associated with the project and modules/options in a similar way as above. This might give us more flexibility, but would require one more file to maintain per project.I think that configurations should also be exposed, but they are not mentioned in the above proposal yet.
The text was updated successfully, but these errors were encountered: