From 46d07f8472f09813be287fa5a10afb50c959dcb1 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 30 Apr 2020 13:04:55 +0200 Subject: gnu: kaldi-gstreamer-server: Fix bug. * gnu/packages/machine-learning.scm (kaldi-gstreamer-server)[arguments]: Patch master_server.py before build. --- gnu/packages/machine-learning.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu/packages/machine-learning.scm') diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index df2943167d..8c817d3e3b 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1269,6 +1269,10 @@ automatically.") ;; are reproducible. (setenv "PYTHONHASHSEED" "0") (with-directory-excursion "kaldigstserver" + ;; See https://github.com/alumae/kaldi-gstreamer-server/issues/232 + (substitute* "master_server.py" + (("\\.replace\\('\\\\.*") ")")) + ;; This is a Python 2 file (delete-file "decoder_test.py") (delete-file "test-buffer.py") -- cgit v1.2.3