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

The API was changed in https://github.com/NixOS/nixpkgs/pull/235859.
This commit is contained in:
adisbladis 2023-06-20 02:23:24 +12:00
parent 8ce7893477
commit 3ef5accbff

View file

@ -36,7 +36,7 @@ in customEmacsPackages.withPackages (epkgs: [ epkgs.evil epkgs.magit ])
self:
let
inherit (self) emacs;
withNativeCompilation = emacs.withNativeCompilation or false;
withNativeCompilation = emacs.withNativeCompilation or emacs.nativeComp or false;
withTreeSitter = emacs.withTreeSitter or false;
in
packagesFun: # packages explicitly requested by the user