emacs: Don't use emacsPackagesNg

It's deprecated and since Nixos 19.09 it's an alias to `emacsPackages`.
This commit is contained in:
adisbladis 2019-11-04 11:16:06 +00:00
parent 6b6f759e7a
commit 49852220f9
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

View file

@ -12,7 +12,7 @@ let
# overrides. # overrides.
emacsPackages = emacsPackages =
let let
epkgs = pkgs.emacsPackagesNgGen cfg.package; epkgs = pkgs.emacsPackagesGen cfg.package;
in in
epkgs.overrideScope' cfg.overrides; epkgs.overrideScope' cfg.overrides;
emacsWithPackages = emacsPackages.emacsWithPackages; emacsWithPackages = emacsPackages.emacsWithPackages;
@ -42,7 +42,7 @@ in
description = '' description = ''
Extra packages available to Emacs. To get a list of Extra packages available to Emacs. To get a list of
available packages run: available packages run:
<command>nix-env -f '&lt;nixpkgs&gt;' -qaP -A emacsPackagesNg</command>. <command>nix-env -f '&lt;nixpkgs&gt;' -qaP -A emacsPackages</command>.
''; '';
}; };