emacs.pkgs.telega: Apply patch to always prefer fixed store path to server

This commit is contained in:
adisbladis 2021-02-26 14:02:40 +02:00
parent c6f1dc2320
commit 5a2bb448e1
No known key found for this signature in database
GPG Key ID: 110BFAD44C6249B7

View File

@ -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"' \