From 81c42da3c322b7d9433141e97e5130166fbffa19 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 14 Mar 2024 08:55:17 +0100 Subject: php: use `--replace-fail` --- pkgs/top-level/php-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/top-level') diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index e8144409ba12..28712e1d26a5 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -411,7 +411,7 @@ lib.makeScope pkgs.newScope (self: with self; { { name = "gettext"; buildInputs = [ gettext ]; - postPhpize = ''substituteInPlace configure --replace 'as_fn_error $? "Cannot locate header file libintl.h" "$LINENO" 5' ':' ''; + postPhpize = ''substituteInPlace configure --replace-fail 'as_fn_error $? "Cannot locate header file libintl.h" "$LINENO" 5' ':' ''; configureFlags = [ "--with-gettext=${gettext}" ]; } { -- cgit 1.4.1