lol

php81: add missing patch

To fix broken hydra build: https://hydra.nixos.org/build/256263019/nixlog/2

+9 -1
+9 -1
pkgs/development/interpreters/php/8.1.nix
··· 1 - { callPackage, ... }@_args: 1 + { callPackage, fetchpatch, ... }@_args: 2 2 3 3 let 4 4 base = callPackage ./generic.nix ((removeAttrs _args [ "fetchpatch" ]) // { 5 5 version = "8.1.28"; 6 6 hash = "sha256-i+RQCW4BU8R9dThOfdWVzIl/HVPOAGBwjOlYm8wxQe4="; 7 + extraPatches = [ 8 + # Fix build with libxml 2.12+. 9 + # Patch from https://github.com/php/php-src/commit/0a39890c967aa57225bb6bdf4821aff7a3a3c082 10 + (fetchpatch { 11 + url = "https://github.com/php/php-src/commit/0a39890c967aa57225bb6bdf4821aff7a3a3c082.patch"; 12 + hash = "sha256-HvpTL7aXO9gr4glFdhqUWQPrG8TYTlvbNINq33M3zS0="; 13 + }) 14 + ]; 7 15 }); 8 16 in 9 17 base.withExtensions ({ all, ... }: with all; ([