mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
php84.extensions.redis: Fix build
This commit is contained in:
parent
a2f47ce51c
commit
c858bafe2e
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user