php80.extensions.redis: fix build

This commit is contained in:
Elis Hirwing 2020-12-01 10:45:31 +01:00 committed by Soner Sayakci
parent 4cc4c7a77a
commit 8aae34ee13
No known key found for this signature in database
GPG key ID: 9C1024313354ABDE

View file

@ -7,8 +7,9 @@ buildPecl {
sha256 = "1cfsbxf3q3im0cmalgk76jpz581zr92z03c1viy93jxb53k2vsgl";
internalDeps = with php.extensions; [
json
session
] ++ lib.optionals (lib.versionOlder php.version "8.0") [
json
] ++ lib.optionals (lib.versionOlder php.version "7.4") [
hash
];