-
Notifications
You must be signed in to change notification settings - Fork 40
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
[RFC] set default for systems and use a better interface for exposing packages #110
Conversation
I digged a bit deeper and tried to do the filtering on the module level:
However there the problem is that filtered module options would become unavailable if other places try to use |
Another issue is that this only check if the package itself advertises certain platforms. |
This Nix Maintainer Team is working through a large backlog. We are considering the problem, and while I think it's important, we can't prioritize this one thing. The team members do perform some implementation work, but the main role of the team (as a responsibility rather than a group of people) is to set a direction and guide contributions.
As you also mention later, filtering is a problem for expressions that consumer these attributes. Like #59, the filtering should be applied as late as possible. Flake-parts could support this as late as the end of
Nixpkgs could check it before returning the output attributes, as part of Sounds like |
See also: #28 |
I am sorry if this came across harsh. I feel personally that the nix package manager is one of the projects that makes it the hardest to get changes accepted and I think I contributed to a fair bit of projects. I feel so frustrated about that I do not consider any patch that is more than 4 lines because it won't get reviewed anyway. Instead I create projects that put hacky wrapper around nix what could be done in a lot cleaner way in nix itself. I have seen many very good contributions that have been tested by other non-committers that get ignored. If the backlog gets too large is too big, would it be not time to go through the list of contributors and add more people as reviewer (even if they do not have the merge bit)? I also do not see any https://github.com/search?q=repo%3ANixOS%2Fnix+roadmap&type=code in the repository where people could pick up tasks to take of load from the core contributors. |
Thank you for giving feedback!
That's part of why I'm on the team now, to help out. We have to split our time between reviewing contributions, design discussions to guide contributions, fixing bugs, and some tech debt.
You're right, we should probably put more emphasis on tagging and elaborating feature issues that can be worked on by others.
I know how it is and I don't take it personally. That's very easy for now, because I haven't been on the team for a long time yet, but please stay honest; we need that. If we fail to deliver this year, feel free to point that out. |
Regarding systems, I wrote this one earlier today and I'll try to greenlight it soon |
Most folks I have spoken too agree that having the user specifying systems is not great ux.
It does not seem that the nix core developer are focused on fixing it any time soon.
So how about the following approach. Nixpkgs already has a great interface for a package to communicate what platforms in can be build on called
meta.platforms
. So why not having meta checks on attributes to filter out packages that are not supported in flake-parts? flake-parts already has enough of knowledge of the flake schema do this filtering.