minor cleanup
This commit is contained in:
16
shell.nix
Normal file
16
shell.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ nixpkgs ? import <nixpkgs> { } }:
|
||||
|
||||
let
|
||||
pkgs = [
|
||||
nixpkgs.nodejs
|
||||
];
|
||||
|
||||
in
|
||||
nixpkgs.stdenv.mkDerivation {
|
||||
name = "env";
|
||||
buildInputs = pkgs;
|
||||
shellHook = ''
|
||||
PATH=./node_modules/.bin:$PATH
|
||||
command -v tree-sitter >/dev/null 2>&1 || npm install tree-sitter-cli
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user