php81: 8.1.1 -> 8.1.2

This commit is contained in:
Pol Dellaiera 2022-01-22 18:12:21 +01:00
parent d06ab7cd47
commit 6794a2c3f6
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA
2 changed files with 11 additions and 3 deletions

View file

@ -2,8 +2,8 @@
let
base = callPackage ./generic.nix (_args // {
version = "8.1.1";
sha256 = "sha256-j4vJytbNEk7cER99sKEJdF4vY4dwoQGzwiopU/eptA4=";
version = "8.1.2";
sha256 = "1aakbfgjffha4v7fl6229wwzavw59s1qkb547sipyhl88gfwfgci";
});
in

View file

@ -540,7 +540,15 @@ lib.makeScope pkgs.newScope (self: with self; {
++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ];
doCheck = false;
}
{ name = "sockets"; doCheck = false; }
{
name = "sockets";
doCheck = false;
patches = lib.optional (php.version == "8.1.2")
(fetchpatch {
url = "https://github.com/php/php-src/commit/07aaa34cd418c44f7bc653fafbf49f07fc71b2bf.patch";
sha256 = "sha256-EwVb09/zV2vJ8PuyLpKFCovxe6yKct0UBvishZaordM=";
});
}
{ name = "sodium"; buildInputs = [ libsodium ]; }
{ name = "sqlite3"; buildInputs = [ sqlite ]; }
{ name = "sysvmsg"; }