about summary refs log tree commit diff
path: root/overlays
diff options
context:
space:
mode:
Diffstat (limited to 'overlays')
-rw-r--r--overlays/emacs.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/overlays/emacs.nix b/overlays/emacs.nix
index bd7625883688..60d41957ee7c 100644
--- a/overlays/emacs.nix
+++ b/overlays/emacs.nix
@@ -27,6 +27,11 @@ let
 
               patches = [ ];
 
+              # fixes segfaults that only occur on aarch64-linux (issue#264)
+              configureFlags = old.configureFlags ++
+                               super.lib.optionals (super.stdenv.isLinux && super.stdenv.isAarch64)
+                                 [ "--enable-check-lisp-object-type" ];
+
               postPatch = old.postPatch + ''
                 substituteInPlace lisp/loadup.el \
                 --replace '(emacs-repository-get-version)' '"${repoMeta.rev}"' \
@@ -91,12 +96,17 @@ let
               tree-sitter-cpp
               tree-sitter-css
               tree-sitter-dockerfile
+              tree-sitter-go
+              tree-sitter-gomod
               tree-sitter-java
               tree-sitter-python
               tree-sitter-javascript
               tree-sitter-json
+              tree-sitter-rust
+              tree-sitter-toml
               tree-sitter-tsx
               tree-sitter-typescript
+              tree-sitter-yaml
             ];
             tree-sitter-grammars = super.runCommand "tree-sitter-grammars" {}
               (super.lib.concatStringsSep "\n" (["mkdir -p $out/lib"] ++ (map linkCmd plugins)));