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
While trying to find a solution for #2457 I noticed that the devbox generate direnv command takes a --config flag which should contain a directory with a devbox.json, however this does not appear to be working.
i.e. the watch_file should point to ./tools/devbox/ci/devbox.json and ./tools/devbox/ci/devbox.lock. Also the devbox shellenv needs to include the --config flag in order to set up the correct environment (devbox shellenv appears to support he --config flag as expected).
itsdalmo
changed the title
devbox generate direnv does not respect --config (draft bug report)
devbox generate direnv does not respect --config
Dec 18, 2024
What happened?
While trying to find a solution for #2457 I noticed that the
devbox generate direnv
command takes a--config
flag which should contain a directory with adevbox.json
, however this does not appear to be working.Steps to reproduce
And if I manually add the
--config
flag, the output does not reflect it:i.e. the
watch_file
should point to./tools/devbox/ci/devbox.json
and./tools/devbox/ci/devbox.lock
. Also thedevbox shellenv
needs to include the--config
flag in order to set up the correct environment (devbox shellenv
appears to support he--config
flag as expected).Command
No response
devbox.json
PS: The problem is not affected by the content of the devbox.json, but I've included it anyhow.
Devbox version
0.13.6
Nix version
nix (Nix) 2.24.9
What system does this bug occur on?
macOS (Apple Silicon)
Debug logs
Not relevant (there is no crash)
The text was updated successfully, but these errors were encountered: