diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix index 5aaf04d8b312..a3842dec6997 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