How to upgrade packages installed with flakes?

Hi all,

I have a bunch of packages from nixpkgs/21.05 installed in my profile. I would like to upgrade these to the versions from the latest release (21.11).

I’ve tried:

nix profile remove nixpkgs/21.05#somepackage
nix profile install nixpkgs/21.11#somepackage

and it works, but it’s a bit tedious. Is there an easier way?