Merge pull request #304096 from drupol/php/fix-builds-on-darwin

php81: add missing patch
This commit is contained in:
Maximilian Bosch 2024-04-15 06:29:12 +00:00 committed by GitHub
commit a9ab026810
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 1 deletions

View File

@ -1,9 +1,17 @@
{ callPackage, ... }@_args:
{ callPackage, fetchpatch, ... }@_args:
let
base = callPackage ./generic.nix ((removeAttrs _args [ "fetchpatch" ]) // {
version = "8.1.28";
hash = "sha256-i+RQCW4BU8R9dThOfdWVzIl/HVPOAGBwjOlYm8wxQe4=";
extraPatches = [
# Fix build with libxml 2.12+.
# Patch from https://github.com/php/php-src/commit/0a39890c967aa57225bb6bdf4821aff7a3a3c082
(fetchpatch {
url = "https://github.com/php/php-src/commit/0a39890c967aa57225bb6bdf4821aff7a3a3c082.patch";
hash = "sha256-HvpTL7aXO9gr4glFdhqUWQPrG8TYTlvbNINq33M3zS0=";
})
];
});
in
base.withExtensions ({ all, ... }: with all; ([