gnu: kaldi: Remove trailing #T from build phases.

* gnu/packages/machine-learning.scm (kaldi)[arguments]: Remove trailing #T
from build phases.
This commit is contained in:
Ricardo Wurmus 2022-12-13 13:41:16 +01:00
parent c978ae3c6b
commit f764947dab
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1625,7 +1625,7 @@ (define-public kaldi
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _ (chdir "src") #t))
(lambda _ (chdir "src")))
(replace 'configure
(lambda* (#:key build system inputs outputs #:allow-other-keys)
(when (not (or (string-prefix? "x86_64" system)
@ -1671,8 +1671,7 @@ (define-public kaldi
(invoke "make" "-C" "onlinebin" "depend")
(invoke "make" "-C" "onlinebin")
(invoke "make" "-C" "gst-plugin" "depend")
(invoke "make" "-C" "gst-plugin")
#t))
(invoke "make" "-C" "gst-plugin")))
;; TODO: also install the executables.
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
@ -1693,8 +1692,7 @@ (define-public kaldi
(install-file file target-dir)))
(find-files "." "\\.h"))
(install-file "gst-plugin/libgstonlinegmmdecodefaster.so"
(string-append lib "/gstreamer-1.0"))
#t))))))
(string-append lib "/gstreamer-1.0"))))))))
(inputs
(list alsa-lib
`(,gfortran "lib")