There are also some rough edges that you need to take care.
For instance, my nix installation `locale` was not `UTF-8` (after the first `devbox shell` run), but all my tools and code needs the locale to be UTF8. When you quick check `locale` after `devbox shell` it keeps returning to your host shell locale instead of the nix one, so you can easily be fooled by which layer you're really running. `which` command also loses its purpose.
For instance, my nix installation `locale` was not `UTF-8` (after the first `devbox shell` run), but all my tools and code needs the locale to be UTF8. When you quick check `locale` after `devbox shell` it keeps returning to your host shell locale instead of the nix one, so you can easily be fooled by which layer you're really running. `which` command also loses its purpose.
Then you need an extra step to fix the locale: https://nixos.wiki/wiki/Locales
Then you find other similar issues that need to be taken care, like conflicts with `rbenv`, `poetry` and so on.
It's an awesome idea, but with `docker`, `podman` or fedora's `toolbox` I have some more certainty on what it's running.
With `docker` you can `docker inspect` or something like that. `devbox shell` tries to merge the nix layer with my own shell in a not predictable way.
Anyway, nice project indeed.