From 03ed96098c21fb976d07a1a3df4af00304b1cdc7 Mon Sep 17 00:00:00 2001 From: ghostbuster91 Date: Thu, 18 May 2023 23:17:04 +0200 Subject: [PATCH] chore: Install tree-sitter via nix for the nix-shell --- default.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/default.nix b/default.nix index 6036e5ccc..7757d262b 100644 --- a/default.nix +++ b/default.nix @@ -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 - ''; }