-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
proposal: nixos-stable branch #266149
Comments
If a user chooses a stable release, they expect stability. Our Therefore I am strongly against this proposal. If you really want the latest, use |
I see where you are coming from, updating like a standard distro would (aka reliable stable automatic version updates without needing to change the flake input). What eclairevoyant is saying is true however, just don't update nixos/nixpkgs-unstable often and you get the same thing. Keep this open so we can see some more opinions! |
I don't think a nixos-stable branch is worth all the trouble vs users manually updating a flake input once every 6 months. |
the issue is one of security. we don't keep updating old branches with vulnerabilities, meaning it is very easy to not notice old packages being vulnerable. |
The issue is that users will get automatically shoved onto the next release, instead of choosing when to upgrade. In fact, how would these users know when the "stable" channel is getting a breaking change, and prepare for it? |
When 24.06 comes around the nixos-stable branch is a mirror of nixos-24.06 |
How does the user know about it?? They just get silently upgraded. And 24.06 is not a thing. |
Just my two cents... users will opt in to release cadence. It's not the rug being pulled from them. I see the use case as described, someone who doesn't want the rolling release breaking nature of unstable breaks every few days. But, wants to keep up with latest versioned release without keeping track of release dates. |
You're not opting in if you have to already know the release date anyway 😉 |
24.06 was an example. Users would be assumed to know the release schedule. Which is not good, as stable should be backports only. |
If the user already knows the release schedule then they know when to change their flake input, which makes this whole request pointless. |
A related thread started in 2019: https://discourse.nixos.org/t/why-is-there-no-rolling-stable-channel/3322 |
+1 |
Some alternative ideas to avoid accidentally using an old stable branch past its maintenance period:
I think a rolling stable release branch could be useful although I don't know if my usecase is the same as @lizelive's. I run unstable but have a nixpkgs-stable input specifically for a few critical packages like firefox where stable often gets security updates faster than unstable as that branch can be stalled due to brokenness, and having it roll would make sense there. Trying to avoid people accidentally remaining on an old version seems like a good goal but I don't expect a rolling release branch is the best solution for most users. |
Coincidentally, yesterday I learned that
(I guess it knows thanks to |
I am writing to propose the creation of a nixos-stable branch that points to the most current stable release of NixOS.
The rationale behind this request is to enhance the usability and functionality of Nix Flakes. As you may know, Nix Flakes provide a new way to manage Nix packages, allowing for reproducible, composable, and user-friendly configurations. However, the current setup does not have a straightforward way to refer to the latest stable release of NixOS.
By introducing a nixos-stable branch, users can easily refer to the latest stable release in their flake configurations. This would not only simplify the configuration process but also ensure that users are always working with the most up-to-date stable release.
I believe this change would be a valuable addition to NixOS and greatly benefit the community. I look forward to hearing your thoughts on this proposal.
The text was updated successfully, but these errors were encountered: