emacs: remove backwards-compatibility aliases

authored by Brian Leung and committed by Anderson Torres d1579a08 7ad2f0fb

+3 -10
+1 -8
pkgs/applications/editors/emacs/make-emacs.nix
··· 61 61 , wrapGAppsHook 62 62 63 63 # Boolean flags 64 - , nativeComp ? null 65 - , withNativeCompilation ? 66 - if nativeComp != null 67 - then lib.warn "nativeComp option is deprecated and will be removed; use withNativeCompilation instead" nativeComp 68 - else stdenv.buildPlatform.canExecute stdenv.hostPlatform 64 + , withNativeCompilation ? stdenv.buildPlatform.canExecute stdenv.hostPlatform 69 65 , noGui ? false 70 66 , srcRepo ? true 71 67 , withAcl ? false ··· 403 399 inherit withTreeSitter; 404 400 pkgs = recurseIntoAttrs (emacsPackagesFor finalAttrs.finalPackage); 405 401 tests = { inherit (nixosTests) emacs-daemon; }; 406 - # Backwards compatibility aliases. Remove this at some point before 23.11 release cut-off. 407 - nativeComp = builtins.trace "emacs.passthru: nativeComp was renamed to withNativeCompilation and will be removed in 23.11" withNativeCompilation; 408 - treeSitter = builtins.trace "emacs.passthru: treeSitter was renamed to withTreeSitter and will be removed in 23.11" withTreeSitter; 409 402 }; 410 403 411 404 meta = meta // {
+2 -2
pkgs/build-support/emacs/wrapper.nix
··· 36 36 self: 37 37 let 38 38 inherit (self) emacs; 39 - withNativeCompilation = emacs.withNativeCompilation or emacs.nativeComp or false; 40 - withTreeSitter = emacs.withTreeSitter or emacs.treeSitter or false; 39 + withNativeCompilation = emacs.withNativeCompilation or false; 40 + withTreeSitter = emacs.withTreeSitter or false; 41 41 in 42 42 packagesFun: # packages explicitly requested by the user 43 43 let