Skip to content

Deprecate upgrade-nix command - #55

Merged
grahamc merged 3 commits into
detsys-mainfrom
gustavderdrache/deprecate-upgrade
May 6, 2025
Merged

grahamc merged 3 commits into
detsys-mainfrom
gustavderdrache/deprecate-upgrade

Conversation

@gustavderdrache

Copy link
Copy Markdown

This PR deprecates the nix upgrade-nix command. Under Determinate Nix, users should use sudo determinate-nixd upgrade (or bump their Determinate flake input) to upgrade.

Comment thread src/nix/upgrade-nix.cc Resolved
Comment thread src/nix/upgrade-nix.md Outdated
Comment on lines +8 to +10
Use `sudo determinate-nixd upgrade` to upgrade Determinate Nix on systems that
manage it imperatively. In practice, this is any system that isn't running
NixOS.

@grahamc grahamc May 6, 2025 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one sentence per line, a little nit.

Suggested change
Use `sudo determinate-nixd upgrade` to upgrade Determinate Nix on systems that
manage it imperatively. In practice, this is any system that isn't running
NixOS.
Use `sudo determinate-nixd upgrade` to upgrade Determinate Nix on systems that manage it imperatively.
In practice, this is any system that isn't running NixOS.
Run `sudo determinate-nixd upgrade` for system-specific instructions.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've adjusted the formatting, but I think the last addition is a bit too repetitive. How does this look if I just address the nit?

Co-authored-by: Graham Christensen <[email protected]>
@github-actions

github-actions Bot commented May 6, 2025 •

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request May 6, 2025 19:19 Inactive
@github-actions
github-actions Bot temporarily deployed to pull request May 6, 2025 19:39 Inactive
@grahamc
grahamc added this pull request to the merge queue May 6, 2025
Merged via the queue into detsys-main with commit 6d2eb41 May 6, 2025
@grahamc
grahamc deleted the gustavderdrache/deprecate-upgrade branch May 6, 2025 20:38

This branch was previously deployed

1 inactive deployment
pull request — fb01b8c5 Deployed May 6, 2025 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants