about summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2024-03-14 21:32:59 +0100
committerGitHub <noreply@github.com>2024-03-14 21:32:59 +0100
commit22f0f4468a990cc3ca4d1514f6ac4f86c14b1f04 (patch)
tree91c46f582b45bd1636956f3da0d99d152489b94f /pkgs/top-level
parentd01eb9b99b634515fd10c732f261d7e6a4e1e503 (diff)
parent81c42da3c322b7d9433141e97e5130166fbffa19 (diff)
downloadnixlib-22f0f4468a990cc3ca4d1514f6ac4f86c14b1f04.tar
nixlib-22f0f4468a990cc3ca4d1514f6ac4f86c14b1f04.tar.gz
nixlib-22f0f4468a990cc3ca4d1514f6ac4f86c14b1f04.tar.bz2
nixlib-22f0f4468a990cc3ca4d1514f6ac4f86c14b1f04.tar.lz
nixlib-22f0f4468a990cc3ca4d1514f6ac4f86c14b1f04.tar.xz
nixlib-22f0f4468a990cc3ca4d1514f6ac4f86c14b1f04.tar.zst
nixlib-22f0f4468a990cc3ca4d1514f6ac4f86c14b1f04.zip
Merge pull request #295836 from drupol/use-replace-fail
php: use `--replace-fail`
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/php-packages.nix2
1 files changed, 1 insertions, 1 deletions
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}" ];
         }
         {