Commit 07739a7
authored
## 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
```
1 parent 8811ade commit 07739a7
1 file changed
+21
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
143 | 147 | | |
144 | 148 | | |
145 | 149 | | |
| |||
172 | 176 | | |
173 | 177 | | |
174 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
175 | 184 | | |
176 | 185 | | |
177 | 186 | | |
178 | 187 | | |
179 | 188 | | |
180 | 189 | | |
181 | 190 | | |
| 191 | + | |
182 | 192 | | |
183 | 193 | | |
184 | 194 | | |
| |||
245 | 255 | | |
246 | 256 | | |
247 | 257 | | |
248 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
249 | 266 | | |
250 | 267 | | |
251 | 268 | | |
| |||
0 commit comments