emacs: replace use of emacsPackagesGen

Instead we use `emacsPackagesFor`, which `emacsPackagesGen` aliases
anyway.
This commit is contained in:
Robert Helgesson 2020-06-06 14:12:45 +02:00
parent 46cd37abc9
commit 42fd47b246
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -8,7 +8,7 @@ let
# Copied from all-packages.nix, with modifications to support # Copied from all-packages.nix, with modifications to support
# overrides. # overrides.
emacsPackages = let epkgs = pkgs.emacsPackagesGen cfg.package; emacsPackages = let epkgs = pkgs.emacsPackagesFor cfg.package;
in epkgs.overrideScope' cfg.overrides; in epkgs.overrideScope' cfg.overrides;
emacsWithPackages = emacsPackages.emacsWithPackages; emacsWithPackages = emacsPackages.emacsWithPackages;