mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
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.
(cherry picked from commit 75650d79da)
This commit is contained in:
committed by
Anderson Torres
parent
d9777b2449
commit
0dfffa1b87
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user