My terminal in Firebase Studio workspaces is not sourcing the Nix environment defined in .idx/dev.nix. which python always outputs /usr/bin/python instead of a /nix/store/ path, and I cannot use packages defined in dev.nix like flask and pymongo (getting ModuleNotFoundError) * The steps you have already taken:
- You have a
.idx/dev.nixfile withpkgs.python311,pkgs.python311Packages.flask, andpkgs.python311Packages.pymongoin thepackageslist (you can even share the content of yourdev.nix). - You have saved the file and clicked “Rebuild Environment”.
- You have closed and opened new terminal sessions after rebuilding.
- You have tried this in a brand new Firebase Studio workspace with a minimal
dev.nixfile. - Any error messages you see related to environment rebuilding or in the terminal (like
ModuleNotFoundErroror thepiperror)