diff --git a/pkgs/package-overrides.nix b/pkgs/package-overrides.nix index e0ea19a6..c59a8136 100644 --- a/pkgs/package-overrides.nix +++ b/pkgs/package-overrides.nix @@ -290,6 +290,11 @@ in prev.extensions.inotify; intl = prev.extensions.intl.overrideAttrs (attrs: { + buildInputs = + if lib.versionOlder prev.php.version "8.1.0" then + (builtins.filter (pkg: pkg != pkgs.icu73) attrs.buildInputs) ++ [ pkgs.icu64 ] + else + attrs.buildInputs; doCheck = if lib.versionOlder prev.php.version "7.2" then false else attrs.doCheck or true; patches = let