Skip to content

Cannot run devbox script if another script is sourced in the init hook #2607

Open
@ashishkurian

Description

@ashishkurian

What happened?

Hello There.

I want to source a script as init hook. The reason is that my script have some custom function that I want to be available whenever I initiate a devbox shell. I also do not want to add them to my bashrc (not to mess with the default).

Then I want to have an additional devbox script to be run as on demand basis. Basically, I want to start up docker only when required and not as init hook.

What happens is that I get the following error.

Image

However, if I just run the script in the ini hook instead of sourcing, it works just fine.

Image

contents of configure.sh

#!/bin/bash

echo "Hello From the sourced script"

Steps to reproduce

  1. Use the devbox.json
  2. Run devbox run echo_once
  3. If you update the init hook to bash instead of source, the script runs fine.

Command

No response

devbox.json

{
  "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.6/.schema/devbox.schema.json",
  "packages": [
    "curl@latest"
  ],
  "shell": {
    "init_hook": "source configure.sh",
  "scripts": {
        "echo_once": "echo \"World\"",
        "echo_twice": [
            "echo \"World\"",
            "echo \"Again\""
        ]
    }
  }
}

Devbox version

0.14.2

Nix version

nix (Nix) 2.27.1

What system does this bug occur on?

Linux (x86-64)

Debug logs

time=2025-05-01T10:22:28.187+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:126 msg="searching for config file (including parent directories)" path=.
time=2025-05-01T10:22:28.187+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:147 msg="trying config file" path=devbox.json
time=2025-05-01T10:22:28.188+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:134 msg="config file found" path=/home/ashish/devbox/devbox.json dur=218.402µs
time=2025-05-01T10:22:28.188+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto
time=2025-05-01T10:22:28.188+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:126 msg="searching for config file (including parent directories)" path=.
time=2025-05-01T10:22:28.188+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:147 msg="trying config file" path=devbox.json
time=2025-05-01T10:22:28.188+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:134 msg="config file found" path=/home/ashish/devbox/devbox.json dur=162.401µs
time=2025-05-01T10:22:28.188+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto
time=2025-05-01T10:22:28.188+02:00 level=DEBUG source=go.jetify.com/devbox/nix/nix.go:143 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' --version --debug"
time=2025-05-01T10:22:28.208+02:00 level=DEBUG source=go.jetify.com/devbox/nix/nix.go:143 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' --version --debug" cmd.path=/nix/var/nix/profiles/default/bin/nix cmd.pid=21383 cmd.code=0 cmd.dur=19.834016ms
time=2025-05-01T10:22:28.208+02:00 level=DEBUG source=go.jetify.com/devbox/internal/boxcli/run.go:132 msg="run script" script=echo_once args=[]
time=2025-05-01T10:22:28.208+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:126 msg="searching for config file (including parent directories)" path=.
time=2025-05-01T10:22:28.208+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:147 msg="trying config file" path=devbox.json
time=2025-05-01T10:22:28.209+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:134 msg="config file found" path=/home/ashish/devbox/devbox.json dur=171.301µs
time=2025-05-01T10:22:28.209+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto
time=2025-05-01T10:22:28.209+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto
Info: Running script "echo_once" on /home/ashish/devbox
time=2025-05-01T10:22:28.210+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto
time=2025-05-01T10:22:28.210+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto
Info: Ensuring packages are installed.
time=2025-05-01T10:22:28.210+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto
time=2025-05-01T10:22:28.211+02:00 level=DEBUG source=go.jetify.com/devbox/internal/nix/store.go:145 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' store info --store daemon --json"
time=2025-05-01T10:22:28.236+02:00 level=DEBUG source=go.jetify.com/devbox/internal/nix/store.go:145 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' store info --store daemon --json" cmd.path=/nix/var/nix/profiles/default/bin/nix cmd.pid=21386 cmd.code=0 cmd.dur=24.716445ms
time=2025-05-01T10:22:28.236+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devbox/providers/nixcache/setup.go:86 msg="nixcache: running setup: first time setup"
time=2025-05-01T10:22:28.598+02:00 level=DEBUG source=go.jetify.com/devbox/internal/nix/store.go:61 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info --offline --json /nix/store/k27z9fx6v0msbsl2p54sx4sx0r8247m6-curl-8.12.1-bin /nix/store/03skkhbdzmivfr8c99rqbb9s5clfi0sy-curl-8.12.1-man"
time=2025-05-01T10:22:28.622+02:00 level=DEBUG source=go.jetify.com/devbox/internal/nix/store.go:61 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' path-info --offline --json /nix/store/k27z9fx6v0msbsl2p54sx4sx0r8247m6-curl-8.12.1-bin /nix/store/03skkhbdzmivfr8c99rqbb9s5clfi0sy-curl-8.12.1-man" cmd.path=/nix/var/nix/profiles/default/bin/nix cmd.pid=21395 cmd.code=0 cmd.dur=24.162442ms
time=2025-05-01T10:22:28.623+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto
time=2025-05-01T10:22:28.623+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto
time=2025-05-01T10:22:28.625+02:00 level=DEBUG source=go.jetify.com/devbox/internal/nix/nix.go:83 msg="running print-dev-env cmd" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' print-dev-env --json path:/home/ashish/devbox/.devbox/gen/flake"
time=2025-05-01T10:22:28.625+02:00 level=DEBUG source=go.jetify.com/devbox/internal/nix/nix.go:84 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' print-dev-env --json path:/home/ashish/devbox/.devbox/gen/flake"
⣟ Computing the Devbox environment...
time=2025-05-01T10:22:29.183+02:00 level=DEBUG source=go.jetify.com/devbox/internal/nix/nix.go:84 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' prin✓ Computed the Devbox environment.
time=2025-05-01T10:22:29.184+02:00 level=DEBUG source=go.jetify.com/devbox/internal/nix/profiles.go:26 msg="nix command starting" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' profile list --profile /home/ashish/devbox/.devbox/nix/profile/default --json"
time=2025-05-01T10:22:29.208+02:00 level=DEBUG source=go.jetify.com/devbox/internal/nix/profiles.go:26 msg="nix command exited" cmd.args="nix --extra-experimental-features ca-derivations --option experimental-features 'nix-command flakes fetch-closure' profile list --profile /home/ashish/devbox/.devbox/nix/profile/default --json" cmd.path=/nix/var/nix/profiles/default/bin/nix cmd.pid=21406 cmd.code=0 cmd.dur=23.620332ms
time=2025-05-01T10:22:29.208+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto
time=2025-05-01T10:22:29.208+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto
time=2025-05-01T10:22:29.209+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devbox/devbox.go:702 msg="current environment PATH" path="/home/ashish/.local/bin:/home/ashish/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/TAAKUAS3/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/TAAKUAS3/AppData/Local/Programs/Microsoft VS Code/bin:/snap/bin:/home/ashish/.local/bin:/home/ashish/.local/bin"
time=2025-05-01T10:22:29.209+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devbox/devbox.go:717 msg="nix environment PATH" path=/nix/store/s2bpzn6i8v4873a7jp9m8jwwj99ylq0h-patchelf-0.15.0/bin:/nix/store/f0m6caffiykyvsjim9376a3hx2yj2ghj-gcc-wrapper-14.2.1.20250322/bin:/nix/store/qs54xir5n4vhhbi22aydbkvyyq4v8p0l-gcc-14.2.1.20250322/bin:/nix/store/lkgfphix3sgfsm38smsw38xk81h3f3ig-glibc-2.40-66-bin/bin:/nix/store/h5rn37dd6vfvr9xb0jq85sq8hf6xchry-coreutils-9.6/bin:/nix/store/i74bzbaq6i1bgy9frznv9n21b2z77nyd-binutils-wrapper-2.44/bin:/nix/store/hzw38c3f7s0w200cgk9645z53al7k8lw-binutils-2.44/bin:/nix/store/k27z9fx6v0msbsl2p54sx4sx0r8247m6-curl-8.12.1-bin/bin:/nix/store/h5rn37dd6vfvr9xb0jq85sq8hf6xchry-coreutils-9.6/bin:/nix/store/7l0lfmx3pp9xs9i5q285vdjqy9hc0giv-findutils-4.10.0/bin:/nix/store/9q848nyysljzqgi1wd8hzj8yr7psh9xm-diffutils-3.10/bin:/nix/store/bz6z6c26ajk870qxipxkkp8a6cympj3l-gnused-4.9/bin:/nix/store/8i12gp78n1m9z794miwbsclgyyp5nm5s-gnugrep-3.11/bin:/nix/store/qi25cvn9j1xyvl9p7lp8nw9wqk5k648r-gawk-5.3.1/bin:/nix/store/x0yrczlkrid080mrgw4xrcq5r903djnf-gnutar-1.35/bin:/nix/store/0d3d2c8rk0qn1q9frxfsgzw6yp4cddph-gzip-1.13/bin:/nix/store/ssy7nai103s1q459qir4nsb8xj7abppn-bzip2-1.0.8-bin/bin:/nix/store/70d32kg7b61450yjdgkbfi6jdn3am65v-gnumake-4.4.1/bin:/nix/store/9nw8b61s8lfdn8fkabxhbz0s775gjhbr-bash-5.2p37/bin:/nix/store/mk5kbj9vrzkwbxshy5v3r206fidky0f5-patch-2.7.6/bin:/nix/store/b3jrsidhy02p43aprq4393d8lm9vz1k6-xz-5.8.1-bin/bin:/nix/store/zggxy4h431z5r0qi75gwllbyywk2y8xv-file-5.46/bin
time=2025-05-01T10:22:29.210+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devbox/devbox.go:751 msg="PATH after plugins and config" path=/home/ashish/devbox/.devbox/nix/profile/default/bin:/nix/store/s2bpzn6i8v4873a7jp9m8jwwj99ylq0h-patchelf-0.15.0/bin:/nix/store/f0m6caffiykyvsjim9376a3hx2yj2ghj-gcc-wrapper-14.2.1.20250322/bin:/nix/store/qs54xir5n4vhhbi22aydbkvyyq4v8p0l-gcc-14.2.1.20250322/bin:/nix/store/lkgfphix3sgfsm38smsw38xk81h3f3ig-glibc-2.40-66-bin/bin:/nix/store/h5rn37dd6vfvr9xb0jq85sq8hf6xchry-coreutils-9.6/bin:/nix/store/i74bzbaq6i1bgy9frznv9n21b2z77nyd-binutils-wrapper-2.44/bin:/nix/store/hzw38c3f7s0w200cgk9645z53al7k8lw-binutils-2.44/bin:/nix/store/k27z9fx6v0msbsl2p54sx4sx0r8247m6-curl-8.12.1-bin/bin:/nix/store/7l0lfmx3pp9xs9i5q285vdjqy9hc0giv-findutils-4.10.0/bin:/nix/store/9q848nyysljzqgi1wd8hzj8yr7psh9xm-diffutils-3.10/bin:/nix/store/bz6z6c26ajk870qxipxkkp8a6cympj3l-gnused-4.9/bin:/nix/store/8i12gp78n1m9z794miwbsclgyyp5nm5s-gnugrep-3.11/bin:/nix/store/qi25cvn9j1xyvl9p7lp8nw9wqk5k648r-gawk-5.3.1/bin:/nix/store/x0yrczlkrid080mrgw4xrcq5r903djnf-gnutar-1.35/bin:/nix/store/0d3d2c8rk0qn1q9frxfsgzw6yp4cddph-gzip-1.13/bin:/nix/store/ssy7nai103s1q459qir4nsb8xj7abppn-bzip2-1.0.8-bin/bin:/nix/store/70d32kg7b61450yjdgkbfi6jdn3am65v-gnumake-4.4.1/bin:/nix/store/9nw8b61s8lfdn8fkabxhbz0s775gjhbr-bash-5.2p37/bin:/nix/store/mk5kbj9vrzkwbxshy5v3r206fidky0f5-patch-2.7.6/bin:/nix/store/b3jrsidhy02p43aprq4393d8lm9vz1k6-xz-5.8.1-bin/bin:/nix/store/zggxy4h431z5r0qi75gwllbyywk2y8xv-file-5.46/bin
time=2025-05-01T10:22:29.210+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devbox/devbox.go:769 msg="filtering out buildInput from PATH" path=/nix/store/k27z9fx6v0msbsl2p54sx4sx0r8247m6-curl-8.12.1-bin/bin input=/nix/store/k27z9fx6v0msbsl2p54sx4sx0r8247m6-curl-8.12.1-bin
time=2025-05-01T10:22:29.210+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devbox/devbox.go:775 msg="PATH after filtering buildInputs" inputs="[/nix/store/k27z9fx6v0msbsl2p54sx4sx0r8247m6-curl-8.12.1-bin /nix/store/03skkhbdzmivfr8c99rqbb9s5clfi0sy-curl-8.12.1-man]" path=/home/ashish/devbox/.devbox/nix/profile/default/bin:/nix/store/s2bpzn6i8v4873a7jp9m8jwwj99ylq0h-patchelf-0.15.0/bin:/nix/store/f0m6caffiykyvsjim9376a3hx2yj2ghj-gcc-wrapper-14.2.1.20250322/bin:/nix/store/qs54xir5n4vhhbi22aydbkvyyq4v8p0l-gcc-14.2.1.20250322/bin:/nix/store/lkgfphix3sgfsm38smsw38xk81h3f3ig-glibc-2.40-66-bin/bin:/nix/store/h5rn37dd6vfvr9xb0jq85sq8hf6xchry-coreutils-9.6/bin:/nix/store/i74bzbaq6i1bgy9frznv9n21b2z77nyd-binutils-wrapper-2.44/bin:/nix/store/hzw38c3f7s0w200cgk9645z53al7k8lw-binutils-2.44/bin:/nix/store/7l0lfmx3pp9xs9i5q285vdjqy9hc0giv-findutils-4.10.0/bin:/nix/store/9q848nyysljzqgi1wd8hzj8yr7psh9xm-diffutils-3.10/bin:/nix/store/bz6z6c26ajk870qxipxkkp8a6cympj3l-gnused-4.9/bin:/nix/store/8i12gp78n1m9z794miwbsclgyyp5nm5s-gnugrep-3.11/bin:/nix/store/qi25cvn9j1xyvl9p7lp8nw9wqk5k648r-gawk-5.3.1/bin:/nix/store/x0yrczlkrid080mrgw4xrcq5r903djnf-gnutar-1.35/bin:/nix/store/0d3d2c8rk0qn1q9frxfsgzw6yp4cddph-gzip-1.13/bin:/nix/store/ssy7nai103s1q459qir4nsb8xj7abppn-bzip2-1.0.8-bin/bin:/nix/store/70d32kg7b61450yjdgkbfi6jdn3am65v-gnumake-4.4.1/bin:/nix/store/9nw8b61s8lfdn8fkabxhbz0s775gjhbr-bash-5.2p37/bin:/nix/store/mk5kbj9vrzkwbxshy5v3r206fidky0f5-patch-2.7.6/bin:/nix/store/b3jrsidhy02p43aprq4393d8lm9vz1k6-xz-5.8.1-bin/bin:/nix/store/zggxy4h431z5r0qi75gwllbyywk2y8xv-file-5.46/bin
time=2025-05-01T10:22:29.210+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto
time=2025-05-01T10:22:29.210+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devbox/devbox.go:794 msg="new path stack is" path_stack=DEVBOX_NIX_ENV_PATH_5c9228de06f800c96855e0062d9ccee6a9180556000354b03f40b441b7165983:DEVBOX_INIT_PATH
time=2025-05-01T10:22:29.210+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devbox/devbox.go:796 msg="computed environment PATH" path="/home/ashish/devbox/.devbox/nix/profile/default/bin:/nix/store/s2bpzn6i8v4873a7jp9m8jwwj99ylq0h-patchelf-0.15.0/bin:/nix/store/f0m6caffiykyvsjim9376a3hx2yj2ghj-gcc-wrapper-14.2.1.20250322/bin:/nix/store/qs54xir5n4vhhbi22aydbkvyyq4v8p0l-gcc-14.2.1.20250322/bin:/nix/store/lkgfphix3sgfsm38smsw38xk81h3f3ig-glibc-2.40-66-bin/bin:/nix/store/h5rn37dd6vfvr9xb0jq85sq8hf6xchry-coreutils-9.6/bin:/nix/store/i74bzbaq6i1bgy9frznv9n21b2z77nyd-binutils-wrapper-2.44/bin:/nix/store/hzw38c3f7s0w200cgk9645z53al7k8lw-binutils-2.44/bin:/nix/store/7l0lfmx3pp9xs9i5q285vdjqy9hc0giv-findutils-4.10.0/bin:/nix/store/9q848nyysljzqgi1wd8hzj8yr7psh9xm-diffutils-3.10/bin:/nix/store/bz6z6c26ajk870qxipxkkp8a6cympj3l-gnused-4.9/bin:/nix/store/8i12gp78n1m9z794miwbsclgyyp5nm5s-gnugrep-3.11/bin:/nix/store/qi25cvn9j1xyvl9p7lp8nw9wqk5k648r-gawk-5.3.1/bin:/nix/store/x0yrczlkrid080mrgw4xrcq5r903djnf-gnutar-1.35/bin:/nix/store/0d3d2c8rk0qn1q9frxfsgzw6yp4cddph-gzip-1.13/bin:/nix/store/ssy7nai103s1q459qir4nsb8xj7abppn-bzip2-1.0.8-bin/bin:/nix/store/70d32kg7b61450yjdgkbfi6jdn3am65v-gnumake-4.4.1/bin:/nix/store/9nw8b61s8lfdn8fkabxhbz0s775gjhbr-bash-5.2p37/bin:/nix/store/mk5kbj9vrzkwbxshy5v3r206fidky0f5-patch-2.7.6/bin:/nix/store/b3jrsidhy02p43aprq4393d8lm9vz1k6-xz-5.8.1-bin/bin:/nix/store/zggxy4h431z5r0qi75gwllbyywk2y8xv-file-5.46/bin:/home/ashish/devbox/.devbox/virtenv/runx/bin:/home/ashish/.local/bin:/home/ashish/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Users/TAAKUAS3/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/TAAKUAS3/AppData/Local/Programs/Microsoft VS Code/bin:/snap/bin"
time=2025-05-01T10:22:29.211+02:00 level=DEBUG source=go.jetify.com/devbox/internal/nix/run.go:36 msg="executing script" cmd="[/usr/bin/sh -c \"/home/ashish/devbox/.devbox/gen/scripts/echo_once.sh\"]"
/home/ashish/devbox/.devbox/gen/scripts/echo_once.sh: 1: /home/ashish/devbox/.devbox/gen/scripts/.hooks.sh: source: not found
Error: error running script "echo_once" in Devbox: exit status 127

time=2025-05-01T10:22:29.222+02:00 level=ERROR source=go.jetify.com/devbox/internal/boxcli/midcobra/debug.go:70 msg="command error" execid=49fc84eb2b8e4f8b8d3ddd2e3bb324ae stack="error running script \"echo_once\" in Devbox: exit status 127\ngo.jetify.com/devbox/internal/boxcli.runScriptCmd\n\tgo.jetify.com/devbox/internal/boxcli/run.go:192\ngo.jetify.com/devbox/internal/boxcli.runCmd.func1\n\tgo.jetify.com/devbox/internal/boxcli/run.go:56\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/[email protected]/command.go:1015\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/[email protected]/command.go:1148\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/[email protected]/command.go:1071\ngo.jetify.com/devbox/internal/boxcli/midcobra.(*midcobraExecutable).Execute\n\tgo.jetify.com/devbox/internal/boxcli/midcobra/midcobra.go:61\ngo.jetify.com/devbox/internal/boxcli.Execute\n\tgo.jetify.com/devbox/internal/boxcli/root.go:113\ngo.jetify.com/devbox/internal/boxcli.Main\n\tgo.jetify.com/devbox/internal/boxcli/root.go:132\nmain.main\n\t./main.go:11\nruntime.main\n\truntime/proc.go:283\nruntime.goexit\n\truntime/asm_amd64.s:1700"
time=2025-05-01T10:22:29.222+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:126 msg="searching for config file (including parent directories)" path=.
time=2025-05-01T10:22:29.222+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:147 msg="trying config file" path=devbox.json
time=2025-05-01T10:22:29.222+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devconfig/config.go:134 msg="config file found" path=/home/ashish/devbox/devbox.json dur=224.801µs
time=2025-05-01T10:22:29.222+02:00 level=DEBUG source=go.jetify.com/devbox/internal/devpkg/package.go:204 msg="package doesn't need patching" pkg=curl mode=auto

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssue needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions