23.05 features 5 updated mongodb packages… but none of them run on Replit. The old 3.6 which was in 22.11 is gone. Modern drivers require 4.2+. This means that in 22.11, mongosh is incompatible with the mongodb package.
Thanks for the context. We have noted that the issue is due to the MongoDB package not being supported in the Nix store anymore. We will build the package next time we release the snapshot of our Nix cache disk, which will fix the issue. I will update you once we do so!
I am excited to update that we have fixed the mongodb Nix package for Replit. If you need to use pkgs.mongodb within your replit.nix file, please make sure that your Nix channel is set to stable-23_05 in the .replit file.