Fix tree-sitter

This commit is contained in:
larstvei 2024-05-26 01:38:25 +02:00
parent 3d17c07585
commit 3e22ccbf6f

View File

@ -12,17 +12,18 @@
let let
pkgs = import nixpkgs { pkgs = import nixpkgs {
inherit system; inherit system;
overlays = [ overlays =
emacs-overlay.overlays.emacs [ emacs-overlay.overlays.emacs emacs-overlay.overlays.package ];
emacs-overlay.overlays.package
];
}; };
in { in {
defaultPackage = pkgs.emacsWithPackagesFromUsePackage { defaultPackage = pkgs.emacsWithPackagesFromUsePackage {
config = ./init.org; config = ./init.org;
defaultInitFile = true; defaultInitFile = true;
alwaysEnsure = true; alwaysEnsure = true;
alwaysTangle = true; alwaysTangle = true;
extraEmacsPackages = epkgs:
[ epkgs.treesit-grammars.with-all-grammars ];
}; };
}); });
} }