Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.14.0 removes macOS system git #2531

Open
jay-aye-see-kay opened this issue Feb 19, 2025 · 3 comments
Open

0.14.0 removes macOS system git #2531

jay-aye-see-kay opened this issue Feb 19, 2025 · 3 comments
Labels
bug Something isn't working triage Issue needs triage

Comments

@jay-aye-see-kay
Copy link
Contributor

jay-aye-see-kay commented Feb 19, 2025

What happened?

since upgrading to devbox 0.14.0 macOS system git is no longer available in devbox projects

this seems to be a $PATH manipulation error, but I haven't look into the specifics yet

as a workaround installing git through homebrew or nix/home-manager will put a working git back in the PATH

Steps to reproduce

  1. ensure shell is using system git only; which -a /usr/bin/git
  2. cd <some devbox project and direnv allow
  3. strangely which git still points to the same version
  4. but git returns error: tool 'git' not found

Command

No response

devbox.json

any works

Devbox version

0.14.0

Nix version

nix (Nix) 2.26.2

What system does this bug occur on?

macOS (Apple Silicon)

Debug logs

No response

@jay-aye-see-kay jay-aye-see-kay added bug Something isn't working triage Issue needs triage labels Feb 19, 2025
@jay-aye-see-kay
Copy link
Contributor Author

More info, I've just learned this may be an upstream (nix) issue NixOS/nixpkgs#355486

@marcmodin
Copy link

marcmodin commented Feb 20, 2025

NixOS/nixpkgs#355486 (comment)
solved it for me on 14.4 (23E214)

@bmritz
Copy link

bmritz commented Feb 21, 2025

Likely Related to this issue: #2517

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Issue needs triage
Development

No branches or pull requests

3 participants