News for hackers. Stuff that matters.

gurtis

Re:Devbox: Build your Docker image from `scratch` on Thursday September 15, 2022 @05:45PM (#32858873)
Implementing support for virtual envs in the shell would probably work better.

At the end of the day, a devbox shell is just your system’s regular shell with environment variables that point things to your system’s Nix store. Anything that’s able to launch from that shell and inherit the environment should work.

Re:Devbox: Build your Docker image from `scratch` on Thursday September 15, 2022 @05:31PM (#32858727)
I haven’t tried it yet, but it might be possible by doing a `devbox build` to create a container with the environment. Then you would configure it as a PyCharm Docker interpreter, similar to what you’d do with Podman.