Conversation
lib/attrsets.nix
Outdated
There was a problem hiding this comment.
Why is this needed? ... considered harmful.
|
This seems overly complicated to me. Why do we need that all that funky |
|
I would very much prefer to only have that! My reasoning for implementing a flag is based on:
Having a flag will allows us to get to use this data before support is added to Hydra. |
1819fe9 to
9520698
Compare
|
We discussed this on IRC, and we'll just move to the new format, after which @edolstra will fix Hydra. |
|
I would like to take this further (see #34842 (comment)). @moretea did you use a script to generate the attr sets? |
|
I think the feature has been implemented somehow, so any PRs about maintainer list structure should be discussed relative to what we have now. |
Motivation for this change
Enables having proper metadata about maintainers, which is useful for NixOS/rfcs#19 (maintainers file) / NixOS/rfcs#21 (PR's on Hydra).
Example
Things done
Verified that not everything is completely broken by running:
Why the manipulation of the data structure at the bottom of the file?
If
addGitHubwould not be applied to the attrset, then keys of the attrset cannot be observed when accessing them viapkgs.my_pkg.meta.maintainers.Remaining questions