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
It shouldn't need to be adjusted, since scripts execute in the root directory by default. You can validate by running pwd in the line just above the init_hook
Testing with the new build that disables re-running init_hooks, the following devbox.json works as expected:
What happened?
Running a
devbox run
script inside a devbox shell can causeFile Not Found
errors when sourcing a file inside the init hook.Steps to reproduce
devbox.json
development.env
export TEST=FOO
Run
devbox shell
Run
devbox run test
inside the shellDevbox run fails with error:
Command
run
devbox.json
Devbox version
0.10.7
Nix version
nix (Nix) 2.20.5, 2.18.1
What system does this bug occur on?
macOS (Apple Silicon)
Debug logs
The text was updated successfully, but these errors were encountered: