Once this issue happens, mostly just because of the folder /nix/store/xxxx is removed unexpectedly. The solution is simple to just create this folder by calling:
sudo mkdir /nix/store/xxxx
Once this issue happens, mostly just because of the folder /nix/store/xxxx is removed unexpectedly. The solution is simple to just create this folder by calling:
sudo mkdir /nix/store/xxxx