me
/
guix
Archived
1
0
Fork 0

gnu: kaldi-gstreamer-server: Fix bug.

* gnu/packages/machine-learning.scm (kaldi-gstreamer-server)[arguments]: Patch
master_server.py before build.
master
Ricardo Wurmus 2020-04-30 13:04:55 +02:00
parent cb44af24c8
commit 46d07f8472
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 4 additions and 0 deletions

View File

@ -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")