fix(tazjin/emacs): Temporary fixes to use unstable telega
The latest Emacs versions removed some (private) functions that telega depends on, and this is fixed in HEAD of telega.el. However, without these fixes, the unstable version of telega doesn't build because the patch Nix tries to apply doesn't match the source anymore. The patch itself doesn't seem to do anything relevant for me. Change-Id: Ib9a042c636cb438b2b15d231a07afd5c02be72ee Reviewed-on: https://cl.tvl.fyi/c/depot/+/3294 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
This commit is contained in:
parent
e7de89e06a
commit
56c9fa9722
2 changed files with 8 additions and 1 deletions
6
third_party/emacs/telega.nix
vendored
Normal file
6
third_party/emacs/telega.nix
vendored
Normal file
|
@ -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 = [];
|
||||
})
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue