From 625bda3e1fbca0d4439b295d88e4a78123c88deb Mon Sep 17 00:00:00 2001 From: Lev Livnev Date: Tue, 11 Jan 2022 12:13:31 +0000 Subject: [PATCH] telega-server: fix substitutions for dwebp and ffmpeg binaries The upstream commit b6aa0b7 in telega.el broke the `dwebp` and `ffmpeg` substitutions --- .../editors/emacs/elisp-packages/melpa-packages.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix index 1e13c8bcaa10..59583e4d6e15 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix @@ -371,7 +371,8 @@ let --replace 'defcustom telega-server-command "telega-server"' \ "defcustom telega-server-command \"$out/bin/telega-server\"" - substituteInPlace telega-sticker.el --replace '"dwebp"' '"${pkgs.libwebp}/bin/dwebp"' + substituteInPlace telega-sticker.el --replace '"dwebp' '"${pkgs.libwebp}/bin/dwebp' + substituteInPlace telega-sticker.el --replace '"ffmpeg' '"${pkgs.ffmpeg}/bin/ffmpeg' substituteInPlace telega-vvnote.el --replace '"ffmpeg' '"${pkgs.ffmpeg}/bin/ffmpeg' '';