forked from mirrors/nixpkgs
emacs: add nativeComp passthru
As reported by @terlar in https://github.com/NixOS/nixpkgs/pull/235859#issuecomment-1597012885 the removal of nativeComp in passthru breaks external tooling. This adds back `passthru.nativeComp` with a deprecation notice which sets the removal for 23.11.
This commit is contained in:
parent
5938a095a9
commit
75650d79da
|
@ -386,6 +386,8 @@ mkDerivation (finalAttrs: (lib.optionalAttrs withNativeCompilation {
|
|||
inherit withTreeSitter;
|
||||
pkgs = recurseIntoAttrs (emacsPackagesFor finalAttrs.finalPackage);
|
||||
tests = { inherit (nixosTests) emacs-daemon; };
|
||||
# Backwards compatibility aliases. Remove this at some point before 23.11 release cut-off.
|
||||
nativeComp = builtins.trace "emacs.passthru: nativeComp was renamed to withNativeCompilation and will be removed in 23.11" withNativeCompilation;
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue