From 1a563db44834574f7646cfe43c7cd07d8d4640b6 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Mon, 14 Apr 2025 10:55:42 +0200 Subject: [PATCH] php84Extensions.ctype: remove flaky test for `aarch64-darwin` --- pkgs/top-level/php-packages.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index c7672a23c0e9..ea7031d03df8 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -428,7 +428,13 @@ lib.makeScope pkgs.newScope ( configureFlags = [ "--with-bz2=${bzip2.dev}" ]; } { name = "calendar"; } - { name = "ctype"; } + { + name = "ctype"; + postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' + # Broken test on aarch64-darwin + rm ext/ctype/tests/lc_ctype_inheritance.phpt + ''; + } { name = "curl"; buildInputs = [ curl ];