From afa239dcc9e503e6494dbeac8d273c875d3d198d Mon Sep 17 00:00:00 2001 From: pinage404 Date: Sun, 14 Dec 2025 02:09:31 +0100 Subject: [PATCH] speechd: refactor abort when the substitution fail --- pkgs/by-name/sp/speechd/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/sp/speechd/package.nix b/pkgs/by-name/sp/speechd/package.nix index 644004c68325..eb78efae1208 100644 --- a/pkgs/by-name/sp/speechd/package.nix +++ b/pkgs/by-name/sp/speechd/package.nix @@ -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 = [