about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2023-12-30T23·06+0300
committerclbot <clbot@tvl.fyi>2023-12-30T23·09+0000
commit61250d0c6beb3929da3164040996dc5cd31725bf (patch)
tree368c1ad73ba13d82f4fb2a0d69c8a4edbc5346a8
parentf297b4a0cb4da4d5e8dcd81052984d48f7b7c60d (diff)
chore(tazjin/emacs): expose full package set used r/7286
Change-Id: I184a79f18af39338fe9c0c86ed1d80674f065217
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10478
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
-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