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:
commit
2a53bfe14a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user