aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-04-30 13:04:55 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-04-30 13:08:33 +0200
commit46d07f8472f09813be287fa5a10afb50c959dcb1 (patch)
treeb1191845cb9e85b7c25180b71263f43c3f3e71ac /gnu
parentcb44af24c8308dd7e17e991ed6ee803f3cb8a1c2 (diff)
downloadpatches-46d07f8472f09813be287fa5a10afb50c959dcb1.tar
patches-46d07f8472f09813be287fa5a10afb50c959dcb1.tar.gz
gnu: kaldi-gstreamer-server: Fix bug.
* gnu/packages/machine-learning.scm (kaldi-gstreamer-server)[arguments]: Patch master_server.py before build.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/machine-learning.scm4
1 files changed, 4 insertions, 0 deletions
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")