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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
flakes: adopt repl-flake behavior as default #9043
Conversation
and potential conflict when the warning needs to be resolved in a file that's used with both nix versions (before and after this). E.g. a shared NixOS module where some users use nixos 23.05 (nix 2.13, before this PR) and other use nixos-unstable (will have this PR). |
The breaking change should be more prominent or clear in the notes?
|
Formally not a breaking change, but it would be nice to address the |
650956b
to
6a15109
Compare
6a15109
to
2a48054
Compare
I agree we should be making this more stable, but I a have a few doubts about this. IMO the name "repl flakes" is misleading: the point was that Whether or not flakes are in used / the flakes experimental feature is enabled, I think it is is important that we make the |
Do you mean that the By "promoting" this change from a niche flag to a flag with a significant user base (...), we can effectively do a partial roll-out of this change that doesn't affect non- |
@roberth I think we would then want to make it so either To make it consistent we'd need to eventually merge |
Motivation
I think the behavior of
repl-flake
makes sense to be the default whenflakes
are enabled. Robert and I's idea was to avoid actually deprecating therepl-flake
experimental feature with a warning to avoid annoyance and because it's frankly not the most important thing we want to deal with, so this should be pretty straightforward.I already discussed with @fricklerhandwerk about making this change at NixCon and I finally implemented it with @roberth at NixCamp.
Context
Priorities
Add 馃憤 to pull requests you find important.