You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the profile has a manifest.json file, use nix profile to upgrade the Nix package. It's not entirely clear what the behaviour should be, but probably something like:
If the profile element providing nix is a store path, then upgrade it to the store path returned by getLatestNix().
Otherwise do the equivalent of nix profile upgrade <element>.
Is your feature request related to a problem?
Currently
nix upgrade-nix
fails on profiles that have been modified bynix profile
, typically with a misleading error message like:DeterminateSystems/nix-installer#1362
Proposed solution
If the profile has a
manifest.json
file, usenix profile
to upgrade the Nix package. It's not entirely clear what the behaviour should be, but probably something like:nix
is a store path, then upgrade it to the store path returned bygetLatestNix()
.nix profile upgrade <element>
.Alternative solutions
Additional context
Checklist
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: