Commit c858bafe authored by Jan Tojnar's avatar Jan Tojnar
Browse files

php84.extensions.redis: Fix build

parent a2f47ce5
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  lib,
  php,
  fetchFromGitHub,
  fetchpatch,
}:

let
@@ -19,6 +20,14 @@ buildPecl {
    hash = "sha256-Ie31zak6Rqxm2+jGXWg6KN4czHe9e+190jZRQ5VoB+M=";
  };

  patches = [
    # Fix build with PHP 8.4.
    (fetchpatch {
      url = "https://github.com/phpredis/phpredis/commit/a51215ce2b22bcd1f506780c35b6833471e0b8cb.patch";
      hash = "sha256-DoGPMyuI/IZdF+8jG5faoyG2aM+WDz0obH6S7HoOMX8=";
    })
  ];

  internalDeps = with php.extensions; [ session ];

  meta = with lib; {