Add tree-sitter overrides, enable it on tests

This commit is contained in:
Thiago Kenji Okada
2022-07-09 11:43:25 +01:00
parent b27d213348
commit 9080872399
2 changed files with 10 additions and 1 deletions

View File

@ -103,6 +103,13 @@ self: super: {
ename = "so-long";
};
tree-sitter = super.tree-sitter.overrideAttrs (esuper: {
postInstall = ''
ln -s ${super.tsc}/share/emacs/site-lisp/elpa/${super.tsc.name}/* \
$out/share/emacs/site-lisp/elpa/${esuper.pname}-${esuper.version}/
'';
});
ts-fold = self.straightBuild {
pname = "ts-fold";
};

View File

@ -104,6 +104,7 @@
;;taskrunner ; taskrunner for all your projects
;;terraform ; infrastructure as code
;;tmux ; an API for interacting with tmux
tree-sitter ; syntax and parsing, sitting in a tree...
;;upload ; map local to remote projects via ssh/ftp
:os
@ -148,7 +149,8 @@
;;lua ; one-based indices? one-based indices
markdown ; writing docs for people to ignore
;;nim ; python + lisp at the speed of c
nix ; I hereby declare "nix geht mehr!"
(nix ; I hereby declare "nix geht mehr!"
+tree-sitter)
;;ocaml ; an objective camel
org ; organize your plain life in plain text
;;php ; perl's insecure younger brother