Merge pull request #204635 from gbtb/speechd_with_espeak

speechd: prevent leak of mbrola into closure if espeak is disabled
This commit is contained in:
Artturi 2022-12-05 17:49:27 +02:00 committed by GitHub
commit 2a53bfe14a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ in stdenv.mkDerivation rec {
src = ./fix-paths.patch; src = ./fix-paths.patch;
utillinux = util-linux; utillinux = util-linux;
}) })
] ++ lib.optionals espeak.mbrolaSupport [ ] ++ lib.optionals (withEspeak && espeak.mbrolaSupport) [
# Replace FHS paths. # Replace FHS paths.
(substituteAll { (substituteAll {
src = ./fix-mbrola-paths.patch; src = ./fix-mbrola-paths.patch;