speechd: prevent leak of mbrola into closure if espeak is disabled

This commit is contained in:
gbtb 2022-12-05 23:10:06 +10:00
parent 2255f28d87
commit 462e073113

View File

@ -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;