Skip to content

Commit 60c39b3

Browse files
authored
chore(nix): add git to devShell (#157)
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 <[email protected]>
1 parent f3f513e commit 60c39b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
xz
7676
just
7777
_7zz
78+
git
7879
];
7980
};
8081
};

0 commit comments

Comments
 (0)