Skip to content
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

nix profile cannot intuitively upgrade all packages #10162

Closed
bobvanderlinden opened this issue Mar 6, 2024 · 0 comments · Fixed by #10166
Closed

nix profile cannot intuitively upgrade all packages #10162

bobvanderlinden opened this issue Mar 6, 2024 · 0 comments · Fixed by #10166
Labels
feature Feature request or proposal

Comments

@bobvanderlinden
Copy link
Member

Currently to upgrade all packages in your profile, users have to resort to using regex:

nix profile upgrade '.*'

As described in #7962, using regex is counter-intuitive. You'll have to rely on quotes in most shells and .* isn't always clear for people what it does.

It would be nice if there was a more explicit way to upgrade all packages, like:

nix profile upgrade --all

Or, more implicitly:

nix profile upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request or proposal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant