mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
speechd: prevent leak of mbrola into closure if espeak is disabled
This commit is contained in:
parent
2255f28d87
commit
462e073113
|
@ -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 a new issue