I have a Nixos install on my server that I was just trying to update and I am running into this error. I haven’t made any changes to my Nix configuration in a while, but I am unable to update.
sudo nixos-rebuild switch, I run into this error message:
activating the configuration... setting up /etc... ln: failed to create symbolic link '/usr/bin/.env.tmp': Operation not permitted mv: cannot stat '/usr/bin/.env.tmp': No such file or directory Activation script snippet 'usrbinenv' failed (1)
What should I do from here? I wasn’t able to find any solution to this problem.