4 Years late but if anyone finds this and its binarycache error what fixed it for me is in root/.cache/nix the binary-cache I deleted it and rebuilt it and it worked