From 2086a6a335a23ae56485592f62c77cb088d62fff Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Fri, 9 Jul 2021 22:58:34 +0800 Subject: gnu: emacs-telega: Fix 'patch-source' phase. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/emacs-xyz.scm (emacs-telega)[#:phases]: Add missing slash in ‘/bin’ when patching general commands. Also patch telega-vvnote.el. Signed-off-by: Leo Prikler --- gnu/packages/emacs-xyz.scm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'gnu/packages/emacs-xyz.scm') diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 6ac61fd596..16cd0d8b5b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -26290,17 +26290,17 @@ service, and connect it with Emacs via inter-process communication.") (let* ((ffmpeg (assoc-ref inputs "ffmpeg")) (ffmpeg-bin (string-append ffmpeg "/bin/ffmpeg")) (ffplay-bin (string-append ffmpeg "/bin/ffplay"))) - (substitute* "telega-ffplay.el" - (("(shell-command-to-string\|concat) \"(ffmpeg\|ffprobe)" - all func cmd) - (string-append func " \"" (assoc-ref inputs "ffmpeg") - "bin/" cmd)) - (("\\(executable-find \"ffplay\"\\)") - (string-append "(and (file-executable-p \"" ffplay-bin "\")" - "\"" ffplay-bin "\")")) - (("\\(executable-find \"ffmpeg\"\\)") - (string-append "(and (file-executable-p \"" ffmpeg-bin "\")" - "\"" ffmpeg-bin "\")")))))) + (substitute* '("telega-ffplay.el" "telega-vvnote.el") + (("(shell-command-to-string\|concat) \"(ffmpeg\|ffprobe)" + all func cmd) + (string-append func " \"" (assoc-ref inputs "ffmpeg") + "/bin/" cmd)) + (("\\(executable-find \"ffplay\"\\)") + (string-append "(and (file-executable-p \"" ffplay-bin "\")" + "\"" ffplay-bin "\")")) + (("\\(executable-find \"ffmpeg\"\\)") + (string-append "(and (file-executable-p \"" ffmpeg-bin "\")" + "\"" ffmpeg-bin "\")")))))) (add-after 'unpack 'configure (lambda* (#:key inputs outputs #:allow-other-keys) (substitute* "telega-server.el" -- cgit v1.2.3