diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix index 4c30a065712..5aaf04d8b31 100644 --- a/pkgs/build-support/emacs/wrapper.nix +++ b/pkgs/build-support/emacs/wrapper.nix @@ -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