about summary refs log tree commit diff
path: root/overrides
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-14T12·49+0000
committerVincent Ambo <tazjin@google.com>2019-12-14T12·49+0000
commitbd7c9e4b5acb5671e0b96572dcde0525a0f7c9c1 (patch)
tree4cb64a39dfe8866be83eb47ecd02e04cd52aee9e /overrides
parent2b80265a1f227eb270223ce85d6239339ce1143d (diff)
fix(writeElispBin): Use emacsPackagesNg r/138
Ng is used by my Emacs derivation. I don't actually know what they do
differently, but it seems sensible to use the same one in both places.
Diffstat (limited to 'overrides')
-rw-r--r--overrides/writeElispBin.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/overrides/writeElispBin.nix b/overrides/writeElispBin.nix
index abd39343dd91..a1616fb9d464 100644
--- a/overrides/writeElispBin.nix
+++ b/overrides/writeElispBin.nix
@@ -3,10 +3,10 @@
 { name, src, deps ? (_: []), emacs ? pkgs.third_party.emacs26-nox }:
 
 let
-  inherit (pkgs.third_party) emacsPackagesFor writeTextFile;
+  inherit (pkgs.third_party) emacsPackagesNg emacsPackagesNgGen writeTextFile;
   inherit (builtins) isString toFile;
 
-  finalEmacs = (emacsPackagesFor emacs).emacsWithPackages deps;
+  finalEmacs = (emacsPackagesNgGen emacs).emacsWithPackages deps;
 
   srcFile = if isString src
     then toFile "${name}.el" src