aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/upgrade-nix-profile-compat.md
blob: df9879c6f0837642426571967dd8695a4ea57945 (plain)
1
2
3
4
5
6
7
8
---
synopsis: using `nix profile` on `/nix/var/nix/profiles/default` no longer breaks `nix upgrade-nix`
cls: 952
---

On non-NixOS, Nix is conventionally installed into a `nix-env` style profile at /nix/var/nix/profiles/default.
Like any `nix-env` profile, using `nix profile` on it automatically migrates it to a `nix profile` style profile, which is incompatible with `nix-env`.
`nix upgrade-nix` previously relied solely on `nix-env` to do the upgrade, but now will work fine with either kind of profile.