Skip to content

Conversation

wingyplus
Copy link
Contributor

The nix develop -c just release-local is not working when running on fresh clone. It raise that git command not found error during mi deps.get is processing:

$ nix develop -c just release-local
* Getting elixir_sense (https://github.com/elixir-lsp/elixir_sense.g
it - e3ddc403554050221a2fd19a10a896fa7525bc02)
error: tool 'git' not found
** (Mix) Command "git -c core.hooksPath='' init --quiet" failed
error: Recipe `deps` failed with exit code 1

Solve by add git to the flake.nix to make nix recognize git command.

The `nix develop -c just release-local` is not working when running on
fresh clone. It raise that `git` command not found error during `mi
deps.get` is processing:

```
$ nix develop -c just release-local
* Getting elixir_sense (https://github.com/elixir-lsp/elixir_sense.g
it - e3ddc403554050221a2fd19a10a896fa7525bc02)
error: tool 'git' not found
** (Mix) Command "git -c core.hooksPath='' init --quiet" failed
error: Recipe `deps` failed with exit code 1
```

Solve by add `git` to the `flake.nix` to make nix recognize `git`
command.

Signed-off-by: Thanabodee Charoenpiriyakij <wingyminus@gmail.com>
@wingyplus wingyplus changed the title Fix nix develop -c just release-local is not working on clean build fix: nix develop -c just release-local is not working on clean build Sep 27, 2025
@mhanberg mhanberg merged commit 60c39b3 into elixir-lang:main Sep 27, 2025
1 of 2 checks passed
@wingyplus wingyplus deleted the nix-dev-failure branch September 29, 2025 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants