Merge pull request #156179 from drupol/php/bump-to-8.1.2

This commit is contained in:
Sandro
2022-01-25 16:00:14 +01:00
committed by GitHub
2 changed files with 11 additions and 3 deletions
+2 -2
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
+9 -1
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"; }