From 9e69b0d8b9ddba121a9a978b10ab38a938937538 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Mon, 4 Nov 2019 11:16:06 +0000 Subject: [PATCH] emacs: Don't use emacsPackagesNg It's deprecated and since Nixos 19.09 it's an alias to `emacsPackages`. (cherry picked from commit 49852220f97ab4bf526bdbb11621dcc7251cc36d) --- modules/programs/emacs.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/emacs.nix b/modules/programs/emacs.nix index 78c136c98..b91578f91 100644 --- a/modules/programs/emacs.nix +++ b/modules/programs/emacs.nix @@ -12,7 +12,7 @@ let # overrides. emacsPackages = let - epkgs = pkgs.emacsPackagesNgGen cfg.package; + epkgs = pkgs.emacsPackagesGen cfg.package; in epkgs.overrideScope' cfg.overrides; emacsWithPackages = emacsPackages.emacsWithPackages; @@ -42,7 +42,7 @@ in description = '' Extra packages available to Emacs. To get a list of available packages run: - nix-env -f '<nixpkgs>' -qaP -A emacsPackagesNg. + nix-env -f '<nixpkgs>' -qaP -A emacsPackages. ''; };