add nix infrastructure to build the grammar

This commit is contained in:
2023-07-04 07:20:42 +00:00
parent edd60ed689
commit ec29df4a13
6 changed files with 118 additions and 0 deletions

8
default.nix Normal file
View File

@@ -0,0 +1,8 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.tree-sitter.buildGrammar {
src = ./.;
version = "0.1.0";
language = "nixshell";
generate = true;
}