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