emacs: add back support in wrapper for using passthru.treeSitter

The API was changed in https://github.com/NixOS/nixpkgs/pull/235859.

(cherry picked from commit 5f253d2521)
This commit is contained in:
adisbladis
2023-06-20 02:26:41 +12:00
committed by Anderson Torres
parent 13099946de
commit 7045b42e4b

View File

@@ -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