Merge pull request #114463 from adisbladis/telega-bin-paths-patch

emacs.pkgs.telega: Apply patch to always prefer fixed store path to server
This commit is contained in:
adisbladis 2021-02-26 16:19:11 +02:00 committed by GitHub
commit 2986cad998
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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