-
Notifications
You must be signed in to change notification settings - Fork 78
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
Potential feature-freeze or deprecation in favor of flake-parts #86
Comments
As in not having
I think you can, but it doesn't have to be part of flake-utils. Attribute merging doesn't seem to be in scope for flake-utils, so you'd use the built-in
This doesn't seem particularly useful to me, as it's rare for it to need contributions. Contributions and feature requests that do come in and I honestly don't know who to entrust with this highly specialized task.
This would have to include the module system, which is still evolving. By pinning the module system implementation in the flake lock, we can guarantee that a flake is reproducible years if not decades into the future. If we were to pin/vendor it in Nix, we would lose either the ability to improve the module system, or lose the ability to reproduce flakes years from now. Also it would burden the Nix maintainer team, which has a tough enough job already, and it has more useful opportunities to explore. |
@roberth As in, if you I could be wrong about whether or not this is allowed by default, though; I think it is, but I'm not sure.
This is fair; you could always use flake-parts is my preference for the reasons I mentioned, so I see no reason for this repo to exist, but it's up to Numtide to decide whether or not they want to maintain it. Granted, I have known some to believe that flake-parts over-engineered; I've personally not had any problem, coming from the Haskell side, but Nix also isn't only for Haskell stuff.
I was thinking to just make Perhaps you could set constraints on supported system architectures in |
Unless I'm mistaken, the preferred solution for generalizing across system architectures with Nix flakes is flake-parts by the Hercules CI team; reason being, you can separate attributes that are truly hermetic from those that depend on a particular system with flake-parts, but not with flake-utils.
Conjecturally, we might either put flake-parts in the nix-community organization or even integrate it into the Nix mainline once flakes themselves are stable. In either case, there should be no reason to maintain this repo other than for compatibility.
cc @srid @roberth
The text was updated successfully, but these errors were encountered: