minor cleanup

This commit is contained in:
mhoffm
2021-06-12 21:21:35 +02:00
parent 1621246b8d
commit 0b8859a794
2 changed files with 4 additions and 1 deletions

16
shell.nix Normal file
View 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
'';
}