John Lago

Results 107 comments of John Lago

I think there was a similar post in the Discord. If you need bsdtar, the correct package to install is `[libarchive](https://www.nixhub.io/packages/libarchive)`. This is unfortunately not very clear from the package...

@DerArkeN the behavior depends on how the services are started. Services run in their own shell, so they are not necessarily affected by the `devbox shell` used to start them...

@rbhanot4739 Does this issue persist even after running `refresh-global`? Sometimes that error occurs if you've recently upgraded devbox

the `BASH_FUNC()` error that you are seeing is a [Shellshock mitigation](https://antonyt.com/blog/2020-03-27/exploiting-cgi-scripts-with-shellshock), because something in either your zshrc or system zshrc is trying to export a function, which is a security...

Which Linux Distro are you using? I can try to repro in a VM and see if it's a setting in the VM that we aren't handling

Ah yep, here it is: https://github.com/microsoft/azurelinux/blob/3fc3abd10337c6a6db742f5ce79e1fcfb296dfd8/SPECS/zsh/zprofile.rhs#L10 It looks like Azure sets those functions in the zprofile, and Devbox trying to source and reexport them is what's causing the issue EDIT:...

Can you try adding `export SHELL=/bin/zsh` to your zshrc, and see if that fixes the issue? I can check with the team as well to see if we should modify...

Very interesting! A few questions: 1. Have you used this on your Devbox setups in CI? 2. Does this work well in monorepo type setups? Or does it only load...

I wonder if this would be helped by exposing more hooks in devbox. Right now we only have the `init_hook`, which runs on everything, but adding additional hooks could give...

I'm not sure there's a really easy way to translate the script, since nushell expects variables in a different format than what `devbox global shellenv` exports. You might want to...