devbox
devbox copied to clipboard
Installed programs are not available
What happened?
Programs are not available in PATH after installed. This problem occurs with both devbox shell/run as well with devbox global. I am not able to replicate on a different machine. I disabled every .bashrc customization I had, reinstalled both nix and devbox, recreated projects and folders to figure out what is the problem, but I was not able to understand why devbox misbehaves. It is not an ordering PATH: programs are missing even when I install tools that are not available in my operating system. PATH does not seem to be set correctly, as I can only paths providing some basic utilities.
Steps to reproduce
(set -ex; mkdir test; cd "$_"; devbox init; devbox add python312; devbox run python3 -V); rm -r test
I am not able to replicate on a similar system.
Command
shell
devbox.json
{
"packages": [
"python3@latest",
],
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
]
}
}
}
Devbox version
0.9.0
Nix version
2.18.0
What system does this bug occur on?
Linux (x86-64)
Debug logs
No response