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

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.