mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 03:10:19 +00:00
speechd: refactor abort when the substitution fail
This commit is contained in:
@@ -134,7 +134,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
postPatch = lib.optionalString withPico ''
|
||||
substituteInPlace src/modules/pico.c --replace "/usr/share/pico/lang" "${picotts}/share/pico/lang"
|
||||
substituteInPlace src/modules/pico.c --replace-fail "/usr/share/pico/lang" "${picotts}/share/pico/lang"
|
||||
'';
|
||||
|
||||
installFlags = [
|
||||
|
||||
Reference in New Issue
Block a user