about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/emacs/telega.nix6
-rw-r--r--users/tazjin/emacs/default.nix3
2 files changed, 8 insertions, 1 deletions
diff --git a/third_party/emacs/telega.nix b/third_party/emacs/telega.nix
new file mode 100644
index 000000000000..a4c034b24224
--- /dev/null
+++ b/third_party/emacs/telega.nix
@@ -0,0 +1,6 @@
+# Temporary fix for unstable telega that tries to build with a broken patch.
+{ pkgs, ... }:
+
+pkgs.emacsPackages.melpaPackages.telega.overrideAttrs(old: {
+  patches = [];
+})
diff --git a/users/tazjin/emacs/default.nix b/users/tazjin/emacs/default.nix
index f094600ebf19..3ddae4fa6afb 100644
--- a/users/tazjin/emacs/default.nix
+++ b/users/tazjin/emacs/default.nix
@@ -14,7 +14,7 @@ let
   emacsWithPackages = (pkgs.emacsPackagesGen emacs).emacsWithPackages;
 
   # $PATH for binaries that need to be available to Emacs
-  emacsBinPath = lib.makeBinPath [ pkgs.emacsPackages.telega ];
+  emacsBinPath = lib.makeBinPath [ pkgs.emacsPackages.tvlPackages.telega ];
 
   identity = x: x;
 
@@ -110,6 +110,7 @@ let
 
     # patched / overridden versions of packages
     rcirc
+    telega
   ]))));
 in lib.fix(self: l: f: pkgs.writeShellScriptBin "tazjins-emacs" ''
   export PATH="${emacsBinPath}:$PATH"