Tmpfiles.d.drv fails to install -- tmpfiles.d folder missing

I am on nixos unstable channel. I had to change the configuation.nix from pkgs.unstable to pkgs.git, because the attribute was deprecated.