devbox icon indicating copy to clipboard operation
devbox copied to clipboard

devbox can't start a shell without git

Open gcurtis opened this issue 2 years ago • 0 comments

Current Behavior (bug)

devbox requires git to start a shell, which creates a chicken and egg problem where git can't be installed (with devbox) unless it's already installed.

$ devbox shell
Ensuring packages are installed.
Ensuring nixpkgs registry is downloaded.

Installing package: go@latest.

[1/1] go@latest
[1/1] go@latest: Success
Error: exec: "git": executable file not found in $PATH

Expected Behavior (fix)

Devbox shouldn't require git to start a shell.

Additional context

{
  "packages": ["go@latest"]
}

gcurtis avatar Oct 13 '23 14:10 gcurtis