From 3e22ccbf6f131dadcb64d102ab4039c9940d0908 Mon Sep 17 00:00:00 2001 From: larstvei Date: Sun, 26 May 2024 01:38:25 +0200 Subject: [PATCH] Fix tree-sitter --- flake.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 5062660..b632c68 100644 --- a/flake.nix +++ b/flake.nix @@ -12,17 +12,18 @@ let pkgs = import nixpkgs { inherit system; - overlays = [ - emacs-overlay.overlays.emacs - emacs-overlay.overlays.package - ]; + overlays = + [ emacs-overlay.overlays.emacs emacs-overlay.overlays.package ]; }; + in { defaultPackage = pkgs.emacsWithPackagesFromUsePackage { config = ./init.org; defaultInitFile = true; alwaysEnsure = true; alwaysTangle = true; + extraEmacsPackages = epkgs: + [ epkgs.treesit-grammars.with-all-grammars ]; }; }); }