about summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2023-06-20 02:26:41 +1200
committeradisbladis <adisbladis@gmail.com>2023-06-20 02:30:04 +1200
commit5f253d2521e371b7e5cb6ee72ba885ada985118b (patch)
treed9bf5b7636b08cdd6ba475487fd91332048e241e /pkgs/build-support
parent3ef5accbff272bb3b223ab89c21a9db69a43719d (diff)
emacs: add back support in wrapper for using passthru.treeSitter
The API was changed in https://github.com/NixOS/nixpkgs/pull/235859.
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/emacs/wrapper.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix
index 5aaf04d8b312c..a3842dec69974 100644
--- a/pkgs/build-support/emacs/wrapper.nix
+++ b/pkgs/build-support/emacs/wrapper.nix
@@ -37,7 +37,7 @@ self:
 let
   inherit (self) emacs;
   withNativeCompilation = emacs.withNativeCompilation or emacs.nativeComp or false;
-  withTreeSitter = emacs.withTreeSitter or false;
+  withTreeSitter = emacs.withTreeSitter or emacs.treeSitter or false;
 in
 packagesFun: # packages explicitly requested by the user
 let