about summary refs log tree commit diff
path: root/nix/writeElispBin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/writeElispBin/default.nix')
-rw-r--r--nix/writeElispBin/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/writeElispBin/default.nix b/nix/writeElispBin/default.nix
index 3ea2da58aab2..e23c55a0a4ba 100644
--- a/nix/writeElispBin/default.nix
+++ b/nix/writeElispBin/default.nix
@@ -3,10 +3,10 @@
 { name, src, deps ? (_: [ ]), emacs ? pkgs.emacs27-nox }:
 
 let
-  inherit (pkgs) emacsPackages emacsPackagesGen;
+  inherit (pkgs) emacsPackages emacsPackagesFor;
   inherit (builtins) isString toFile;
 
-  finalEmacs = (emacsPackagesGen emacs).emacsWithPackages deps;
+  finalEmacs = (emacsPackagesFor emacs).emacsWithPackages deps;
 
   srcFile =
     if isString src