Add the dependencies to replit.nix. Here you could run in Shell
replit.nix
sed -i '/^ ];/i\ pkgs.chromium' replit.nix