Problem description:
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!
It’s still crashing… it happens with all of the mongodb versions. They are listed with -6_0 suffixes in the package name. Also themongodb package was not removed… it is listed as an alias to -6_0
We haven’t released a new snapshot of our Nix disk, so the issue hasn’t been resolved yet. I will make sure to update you once we release the new version of our Nix disk.
I have asked the team for an update on this. I can still reproduce the issue so it looks like the fix we made didn’t work. I will follow up once we know more!
We ran into a few blockers with releasing the new snapshot of our disk. We are still working on resolving these so we can move forward with the disk update!
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.