about summary refs log tree commit diff
path: root/users/tazjin/emacs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-04-13T22·19+0200
committertazjin <mail@tazj.in>2021-04-13T22·56+0000
commitf6e59dc09a2b60840d53a960e46f0075d6479c97 (patch)
tree470a2f03ee88362179c754a9d52c50f45567e246 /users/tazjin/emacs
parentbfaa5cbb9205450857eff9120cd11c29149bff74 (diff)
refactor(tazjin/emacs): Use Emacs packages exclusively from fixpoint r/2505
In preparation for native comp ...

Change-Id: I4386ec195673aa664a353236b85d13c3258629e5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3006
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'users/tazjin/emacs')
-rw-r--r--users/tazjin/emacs/default.nix19
1 files changed, 10 insertions, 9 deletions
diff --git a/users/tazjin/emacs/default.nix b/users/tazjin/emacs/default.nix
index b4d5f952e954..4babc106dd48 100644
--- a/users/tazjin/emacs/default.nix
+++ b/users/tazjin/emacs/default.nix
@@ -7,7 +7,7 @@
 # Forcing Emacs to link against Imagemagick currently causes libvterm
 # to segfault, which is a lot less desirable than not having telega
 # render images correctly.
-{ depot, lib, pkgs, ... }:
+{ lib, pkgs, ... }:
 
 let
   emacsWithPackages = (pkgs.emacsPackagesGen pkgs.emacs27).emacsWithPackages;
@@ -91,21 +91,22 @@ let
     yasnippet
   ]) ++
 
+  # Other external packages:
+  (with epkgs; [
+    exwm
+    vterm
+    telega
+  ]) ++
+
   # Custom packages
-  (with depot.tools.emacs-pkgs; [
+  (with epkgs.tvlPackages; [
     dottime
     nix-util
     term-switcher
     tvl
 
-    # telega comes from a mysterious third package set
-    pkgs.emacsPackages.telega
-
     # patched / overridden versions of packages
-    depot.third_party.emacs.exwm
-    depot.third_party.emacs.rcirc
-    depot.third_party.emacs.vterm
-    depot.third_party.emacs.explain-pause-mode
+    rcirc
   ]))));
 in lib.fix(self: l: f: pkgs.writeShellScriptBin "tazjins-emacs" ''
   export PATH="${emacsBinPath}:$PATH"