Profile conflict error in nix upgrade-nix when upgrading from 2.20
I've found a workaround for the Unable to build profile
error, though I'm not sure, if it broke something along the way:
oldnixbin="$(readlink -f "$(which nix)")"
sudo nix profile…