Override treeSitter passthrough

This commit is contained in:
2024-07-14 14:18:24 -04:00
parent 5433a14e49
commit d3257d36e4

View File

@@ -7,9 +7,12 @@
outputs = { self, nixpkgs, flake-utils, emacs-overlay }: let
mkEmacs = pkgs: v: pkgs.emacsWithPackagesFromUsePackage {
config = ./main.org;
package = pkgs."${v}${if pkgs.stdenv.isDarwin then "-macport" else "-pgtk"}";
package = (pkgs."${v}${if pkgs.stdenv.isDarwin then "-macport" else "-pgtk"}").overrideAttrs (old: {
passthru = old.passthru // {
treeSitter = true;
};
});;
extraEmacsPackages = epkgs: with epkgs; [
vterm
treesit-grammars.with-all-grammars
];
};