summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2021-02-26 14:02:40 +0200
committeradisbladis <adisbladis@gmail.com>2021-02-26 14:03:45 +0200
commit5a2bb448e1f955e0ab6a749b1a25506ce8e91ac2 (patch)
tree26b2bbb1908a00a612e97c3cd43d3c4d587b0b98 /pkgs/applications/editors
parentc6f1dc2320db5b28136ca4a78ffce5cf0b7cdba5 (diff)
downloadnixpkgs-5a2bb448e1f955e0ab6a749b1a25506ce8e91ac2.tar
nixpkgs-5a2bb448e1f955e0ab6a749b1a25506ce8e91ac2.tar.gz
nixpkgs-5a2bb448e1f955e0ab6a749b1a25506ce8e91ac2.tar.bz2
nixpkgs-5a2bb448e1f955e0ab6a749b1a25506ce8e91ac2.tar.lz
nixpkgs-5a2bb448e1f955e0ab6a749b1a25506ce8e91ac2.tar.xz
nixpkgs-5a2bb448e1f955e0ab6a749b1a25506ce8e91ac2.tar.zst
nixpkgs-5a2bb448e1f955e0ab6a749b1a25506ce8e91ac2.zip
emacs.pkgs.telega: Apply patch to always prefer fixed store path to server
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/emacs-modes/melpa-packages.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs-modes/melpa-packages.nix b/pkgs/applications/editors/emacs-modes/melpa-packages.nix
index f5adf631913..a5e2b7d6052 100644
--- a/pkgs/applications/editors/emacs-modes/melpa-packages.nix
+++ b/pkgs/applications/editors/emacs-modes/melpa-packages.nix
@@ -299,6 +299,14 @@ let
           buildInputs = old.buildInputs ++ [ pkgs.tdlib ];
           nativeBuildInputs = [ pkgs.pkg-config ];
 
+          patches = [
+            (pkgs.fetchpatch {
+              name = "telega-server-bin-store-prefer.patch";
+              url = "https://github.com/zevlg/telega.el/commit/72550f984ca869309d197203ef7de99182d71729.patch";
+              sha256 = "18xvz53bygksak6h5f8cz79y83p2va15i8qz7n4s3g9gsklmkj2p";
+            })
+          ];
+
           postPatch = ''
             substituteInPlace telega-customize.el \
               --replace 'defcustom telega-server-command "telega-server"' \