Environment taking a long time to load

I am working with a multi lang repo: Python, R, TS. Using a few dependencies like bun and uv for package management as well as SST for IaC. We are trying to use IDX for web dev but also allow the data scientist to run some ipynb notebooks and local Python apps which have R deps. We basically only have 2-3 people accessing the project but they complain that it takes too long to load when building the environment. We are using the nixpkgs “unstable” channel because is the only one where the R dependencies work. Any way to improve load time? Thank you.

  channel = "unstable";
...
    pkgs.bun
    pkgs.uv
    pkgs.python312
    pkgs.python312Packages.pip
    pkgs.python312Packages.rpy2
    pkgs.R

1 Like

Very different projects and dependencies, but I also am wondering if there’s a way to cache the environment or otherwise speed up the build. In my case it is partially due to having to wait to compile a bunch of code for unpackaged dependencies every time I load idx.

Reset your workspace and check your internet connection