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 ];