about summary refs log tree commit diff
path: root/users/tazjin/emacs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/emacs/default.nix')
-rw-r--r--users/tazjin/emacs/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/users/tazjin/emacs/default.nix b/users/tazjin/emacs/default.nix
index b7a78ea7e97d..2e8b59770fca 100644
--- a/users/tazjin/emacs/default.nix
+++ b/users/tazjin/emacs/default.nix
@@ -5,7 +5,8 @@
 pkgs.makeOverridable
   ({ emacs ? pkgs.emacs29 }:
   let
-    emacsWithPackages = (pkgs.emacsPackagesFor emacs).emacsWithPackages;
+    emacsPackages = (pkgs.emacsPackagesFor emacs);
+    emacsWithPackages = emacsPackages.emacsWithPackages;
 
     # If switching telega versions, use this variable because it will
     # keep the version check, binary path and so on in sync.
@@ -162,6 +163,7 @@ pkgs.makeOverridable
           inherit emacs;
 
           # Expose the pure emacs with all packages.
+          inherit emacsPackages;
           emacsWithPackages = tazjinsEmacs f;
 
           # Call overrideEmacs with a function (pkgs -> pkgs) to modify the