Nixos-rebuild switch error: adding a file to tree builder

Hm, I wonder if the flake eval cache (in ~/.cache/nix) was corrupted? Either way glad it’s resolved.