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
Update message to reflect nix 2.0 availability of imperative nix-update #36123
Conversation
|
You are right, I should have added a dash in front as it does not apply to Nixos but to other operating systems nixpkgs can be used with. Fixed it, and added a suggestion how the user may find out which version of Nix he or she is using. (note to others: This is the message that gets printed when the Nix version is too old to evaluate it. The new nix command offers its own proper upgrade capability, so the user should be prompted to use that instead of other options.) |
eb963af
to
8bd3137
Compare
default.nix
Outdated
@@ -8,6 +8,9 @@ if ! builtins ? nixVersion || builtins.compareVersions requiredVersion builtins. | |||
|
|||
- If you are running NixOS, use `nixos-rebuild' to upgrade your system. | |||
|
|||
- Alternatively, with Nix > 2.0 you can use `nix upgrade-nix' to imperatively |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"you can use" to "can be used" in both lines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
@FRidh: Done. |
Motivation for this change
With Nix 2.0 out, there is a new way of updating which should be reflected in the message printed to users.
Things done