diff --git a/third_party/emacs/telega.nix b/third_party/emacs/telega.nix new file mode 100644 index 000000000..a4c034b24 --- /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 f094600eb..3ddae4fa6 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"