mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: kaldi-gstreamer-server: Fix bug.
* gnu/packages/machine-learning.scm (kaldi-gstreamer-server)[arguments]: Patch master_server.py before build.
This commit is contained in:
parent
cb44af24c8
commit
46d07f8472
1 changed files with 4 additions and 0 deletions
|
@ -1269,6 +1269,10 @@ (define-public kaldi-gstreamer-server
|
|||
;; 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")
|
||||
|
|
Loading…
Reference in a new issue