You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[shell] minimal revert of #222 to bring back shell plans temporarily (#228)
## Summary
Until we can land #227, I want to revert the changes in #222 so that
shell plans can continue working, and we can release some other
(unrelated) fixes.
In this PR, I revert (manually) the `devbox.go` changes in #222, while
leaving the test changes to minimize merge conflicts with #227.
cc @loreto@LucilleH
## How was it tested?
sanity check
```
> cd testdata/nodejs/nodejs-18
> devbox shell
> which node
# get nix store path
> exit
```
- [x] will find an example with init-hooks and test that.
Example 1: nginx
```
> devbox shell
Installing nix packages. This may take a while...done.
Starting a devbox shell...
##### WARNING: nginx planner is experimental #####
You may need to add
"include ./.devbox/gen/shell-helper-nginx.conf;"
to your shell-nginx.conf file to ensure the server can start in the nix shell.
Use "shell-nginx" to start the server
```
Example 2: python/pip-example
```
devbox/testdata/python/pip-example
> devbox shell
Installing nix packages. This may take a while...done.
Starting a devbox shell...
Creating/Using virtual environment in /Users/savil/code/jetpack/devbox/testdata/python/pip-example/.venv
(devbox)
devbox/testdata/python/pip-example
> which python3
/Users/savil/code/jetpack/devbox/testdata/python/pip-example/.venv/bin/python3
```
0 commit comments