diff --git a/home-manager/modules/emacs/default.nix b/home-manager/modules/emacs/default.nix index 9cf7e0d..1bc3b6a 100644 --- a/home-manager/modules/emacs/default.nix +++ b/home-manager/modules/emacs/default.nix @@ -12,6 +12,17 @@ with lib; let cp ${initFile} $out ''; + tree-sitter-hare = pkgs.tree-sitter.buildGrammar { + language = "tree-sitter-hare"; + version = "unstable-2023-12-31"; + src = pkgs.fetchFromSourcehut { + owner = "~ecs"; + repo = "tree-sitter-hare"; + rev = "9408bb8fd6c110307f7c92fa834eb5dbd92e36d8"; + sha256 = "iqaj+7Ax5zfXGXsJw5pesTlTeah2X4Li4LpInDSUTcU="; + }; + }; + emacsWithPackages = pkgs.emacsWithPackagesFromUsePackage { config = let @@ -50,6 +61,7 @@ with lib; let tree-sitter-gomod tree-sitter-gowork tree-sitter-graphql + tree-sitter-hare tree-sitter-haskell tree-sitter-hcl tree-sitter-heex @@ -65,14 +77,7 @@ with lib; let tree-sitter-markdown tree-sitter-markdown-inline tree-sitter-nix - (tree-sitter-nu.overrideAttrs (_prevAttr: { - src = pkgs.fetchFromGitHub { - owner = "nushell"; - repo = "tree-sitter-nu"; - rev = "307559b6a3885ef0c55bcd5e23e9e164a7ce03bd"; - sha256 = "RuvR2Yb2CTxpxyXgr+2uUQa9N75sIhYlS9moyedZo8A="; - }; - })) + tree-sitter-nu tree-sitter-pioasm tree-sitter-python tree-sitter-query