Commit 79ed718b authored by Jan Tojnar's avatar Jan Tojnar
Browse files

php84.extensions.redis: Fix build on Darwin

parent cd80ea4c
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -26,6 +26,18 @@ buildPecl {
      url = "https://github.com/phpredis/phpredis/commit/a51215ce2b22bcd1f506780c35b6833471e0b8cb.patch";
      hash = "sha256-DoGPMyuI/IZdF+8jG5faoyG2aM+WDz0obH6S7HoOMX8=";
    })

    # Fix warning on Darwin.
    (fetchpatch {
      url = "https://github.com/phpredis/phpredis/commit/7de29d57d919f835f902f87a83312ed2549c1a13.patch";
      hash = "sha256-INsSQTwcHQhQiqplAYQGS4zAtaIHWABG61MxnPCsrUM=";
    })

    # Fix build on Darwin.
    (fetchpatch {
      url = "https://github.com/phpredis/phpredis/commit/c139de3abac1dd33b97ef0de5af41b6e3a78f7ab.patch";
      hash = "sha256-jM9N4ktGU5KAk81sZZJQmzV7y//39nVnfc52KqIvfpU=";
    })
  ];

  internalDeps = with php.extensions; [ session ];