emacsPackages: revert throw

We recently retired a lot of old aliases, but emacsPackages is still
exposed on search.nixos.org, so should not have been removed. I argued
previously, that this should not have been an alias in the first place:
If it's exposed on search.nixos.org, then it is expected to be used,
too.

We will also need that once we teach Eval to evaluate more packages than
hydra builds.
This commit is contained in:
Wolfgang Walther
2025-11-01 12:31:56 +01:00
parent 72df5def7b
commit e6112d24d0
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -520,7 +520,6 @@ mapAliases {
elm-github-install = throw "'elm-github-install' has been removed as it is abandoned upstream and only supports Elm 0.18.0"; # Added 2025-08-25
emacsMacport = throw "'emacsMacport' has been renamed to/replaced by 'emacs-macport'"; # Converted to throw 2025-10-27
emacsNativeComp = throw "'emacsNativeComp' has been renamed to/replaced by 'emacs'"; # Converted to throw 2025-10-27
emacsPackages = throw "'emacsPackages' has been renamed to/replaced by 'emacs.pkgs'"; # Converted to throw 2025-10-27
embree2 = throw "embree2 has been removed, as it is unmaintained upstream and depended on tbb_2020"; # Added 2025-09-14
EmptyEpsilon = throw "'EmptyEpsilon' has been renamed to/replaced by 'empty-epsilon'"; # Converted to throw 2025-10-27
emulationstation = throw "emulationstation was removed due to numerous vulnerabilities in freeimage"; # Added 2025-10-23
+4
View File
@@ -10937,6 +10937,10 @@ with pkgs;
pkgs' = pkgs; # default pkgs used for bootstrapping the emacs package set
};
# emacsPackages is exposed on search.nixos.org.
# Also see pkgs/top-level/packages-config.nix
emacsPackages = dontRecurseIntoAttrs emacs.pkgs;
espeak-classic = callPackage ../applications/audio/espeak { };
espeak = espeak-ng;