emacs: remove backwards-compatibility aliases
This commit is contained in:
parent
7ad2f0fbfc
commit
d1579a08ec
2 changed files with 3 additions and 10 deletions
|
@ -61,11 +61,7 @@
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
|
|
||||||
# Boolean flags
|
# Boolean flags
|
||||||
, nativeComp ? null
|
, withNativeCompilation ? stdenv.buildPlatform.canExecute stdenv.hostPlatform
|
||||||
, withNativeCompilation ?
|
|
||||||
if nativeComp != null
|
|
||||||
then lib.warn "nativeComp option is deprecated and will be removed; use withNativeCompilation instead" nativeComp
|
|
||||||
else stdenv.buildPlatform.canExecute stdenv.hostPlatform
|
|
||||||
, noGui ? false
|
, noGui ? false
|
||||||
, srcRepo ? true
|
, srcRepo ? true
|
||||||
, withAcl ? false
|
, withAcl ? false
|
||||||
|
@ -403,9 +399,6 @@ mkDerivation (finalAttrs: {
|
||||||
inherit withTreeSitter;
|
inherit withTreeSitter;
|
||||||
pkgs = recurseIntoAttrs (emacsPackagesFor finalAttrs.finalPackage);
|
pkgs = recurseIntoAttrs (emacsPackagesFor finalAttrs.finalPackage);
|
||||||
tests = { inherit (nixosTests) emacs-daemon; };
|
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;
|
|
||||||
treeSitter = builtins.trace "emacs.passthru: treeSitter was renamed to withTreeSitter and will be removed in 23.11" withTreeSitter;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = meta // {
|
meta = meta // {
|
||||||
|
|
|
@ -36,8 +36,8 @@ in customEmacsPackages.withPackages (epkgs: [ epkgs.evil epkgs.magit ])
|
||||||
self:
|
self:
|
||||||
let
|
let
|
||||||
inherit (self) emacs;
|
inherit (self) emacs;
|
||||||
withNativeCompilation = emacs.withNativeCompilation or emacs.nativeComp or false;
|
withNativeCompilation = emacs.withNativeCompilation or false;
|
||||||
withTreeSitter = emacs.withTreeSitter or emacs.treeSitter or false;
|
withTreeSitter = emacs.withTreeSitter or false;
|
||||||
in
|
in
|
||||||
packagesFun: # packages explicitly requested by the user
|
packagesFun: # packages explicitly requested by the user
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in a new issue