mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
all-packages.nix: rename emacs functions Gen -> For
This was introduced when it was unclear which suffix was better, but now it's clear that the "For" convention won.
This commit is contained in:
parent
281a629c2a
commit
1ee3c294bf
2 changed files with 8 additions and 6 deletions
|
@ -81,6 +81,8 @@ mapAliases ({
|
|||
dwarf_fortress = dwarf-fortress; # added 2016-01-23
|
||||
emacs25Macport_25_1 = emacs25Macport; # added 2018-04-25
|
||||
emacsMelpa = emacs25PackagesNg; # for backward compatibility
|
||||
emacsPackagesGen = emacsPackagesFor; # added 2018-08-18
|
||||
emacsPackagesNgGen = emacsPackagesNgFor; # added 2018-08-18
|
||||
enblendenfuse = enblend-enfuse; # 2015-09-30
|
||||
evolution_data_server = evolution-data-server; # added 2018-02-25
|
||||
etcdctl = etcd; # added 2018-04-25
|
||||
|
|
|
@ -16022,7 +16022,7 @@ with pkgs;
|
|||
ImageCaptureCore GSS ImageIO;
|
||||
};
|
||||
|
||||
emacsPackagesGen = emacs: self: let callPackage = newScope self; in rec {
|
||||
emacsPackagesFor = emacs: self: let callPackage = newScope self; in rec {
|
||||
inherit emacs;
|
||||
|
||||
autoComplete = callPackage ../applications/editors/emacs-modes/auto-complete { };
|
||||
|
@ -16165,10 +16165,10 @@ with pkgs;
|
|||
cask = callPackage ../applications/editors/emacs-modes/cask { };
|
||||
};
|
||||
|
||||
emacs25Packages = emacsPackagesGen emacs25 pkgs.emacs25Packages;
|
||||
emacs26Packages = emacsPackagesGen emacs26 pkgs.emacs26Packages;
|
||||
emacs25Packages = emacsPackagesFor emacs25 pkgs.emacs25Packages;
|
||||
emacs26Packages = emacsPackagesFor emacs26 pkgs.emacs26Packages;
|
||||
|
||||
emacsPackagesNgGen = emacs: import ./emacs-packages.nix {
|
||||
emacsPackagesNgFor = emacs: import ./emacs-packages.nix {
|
||||
inherit lib newScope stdenv;
|
||||
inherit fetchFromGitHub fetchgit fetchhg fetchurl fetchpatch;
|
||||
inherit emacs texinfo makeWrapper runCommand writeText;
|
||||
|
@ -16190,9 +16190,9 @@ with pkgs;
|
|||
};
|
||||
};
|
||||
|
||||
emacs25PackagesNg = emacsPackagesNgGen emacs25;
|
||||
emacs25PackagesNg = emacsPackagesNgFor emacs25;
|
||||
emacs25WithPackages = emacs25PackagesNg.emacsWithPackages;
|
||||
emacs26PackagesNg = emacsPackagesNgGen emacs26;
|
||||
emacs26PackagesNg = emacsPackagesNgFor emacs26;
|
||||
emacs26WithPackages = emacs26PackagesNg.emacsWithPackages;
|
||||
emacsWithPackages = emacsPackagesNg.emacsWithPackages;
|
||||
|
||||
|
|
Loading…
Reference in a new issue