chore: Install tree-sitter via nix for the nix-shell

text_sliders
ghostbuster91 2023-05-18 23:17:04 +07:00
parent 56f5844d6c
commit 03ed96098c
No known key found for this signature in database
1 changed files with 1 additions and 8 deletions

@ -10,15 +10,8 @@ pkgs.mkShell {
name = "env";
buildInputs = with pkgs; [
nodejs
gcc
clang
libiconv
python3
tree-sitter
];
shellHook = ''
PATH=./node_modules/.bin:$PATH
command -v tree-sitter >/dev/null 2>&1 || npm install
'';
}