diff options
author | Elis Hirwing <elis@hirwing.se> | 2020-12-01 10:45:31 +0100 |
---|---|---|
committer | Soner Sayakci <s.sayakci@shopware.com> | 2020-12-01 11:54:44 +0100 |
commit | 8aae34ee13817c18c05052ec8a3e5b33a6243aff (patch) | |
tree | 4a0556c5b213f90ffad3077001fd4c1fd0155255 | |
parent | 4cc4c7a77a6540c2e4b45bb7eea518d53cbe1d9e (diff) |
php80.extensions.redis: fix build
-rw-r--r-- | pkgs/development/php-packages/redis/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/php-packages/redis/default.nix b/pkgs/development/php-packages/redis/default.nix index 41ff8f386898d..a61ae1194ffb1 100644 --- a/pkgs/development/php-packages/redis/default.nix +++ b/pkgs/development/php-packages/redis/default.nix @@ -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 ]; |