Error with nss-cacert when upgrading profile

I’m getting this error when I attempt upgrade the packages in my profile:

% nix profile upgrade '.*'
error: opening directory '/nix/store/a5hx1rzki0gd90cr6v4s0sb7qbwdc3l0-nss-cacert-3.74-unbundled': No such file or directory

How can I fix this? I’m using nix 2.7.0 on darwin-x86.