From 1cd3f3f1fe531c897d9508ef1cc6eb337d2a7314 Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Wed, 25 May 2022 19:03:59 +0200 Subject: [PATCH] php: Drop declarations of internalDeps for json --- pkgs/development/php-packages/couchbase/default.nix | 1 - pkgs/development/php-packages/ds/default.nix | 2 -- pkgs/development/php-packages/redis/default.nix | 2 -- 3 files changed, 5 deletions(-) diff --git a/pkgs/development/php-packages/couchbase/default.nix b/pkgs/development/php-packages/couchbase/default.nix index 84f307204319..d87985ab1217 100644 --- a/pkgs/development/php-packages/couchbase/default.nix +++ b/pkgs/development/php-packages/couchbase/default.nix @@ -16,7 +16,6 @@ buildPecl { configureFlags = [ "--with-couchbase" ]; buildInputs = [ libcouchbase zlib ]; - internalDeps = lib.optionals (lib.versionOlder php.version "8.0") [ php.extensions.json ]; patches = [ (substituteAll { diff --git a/pkgs/development/php-packages/ds/default.nix b/pkgs/development/php-packages/ds/default.nix index c6417fd5513a..2552a5bee3b6 100644 --- a/pkgs/development/php-packages/ds/default.nix +++ b/pkgs/development/php-packages/ds/default.nix @@ -8,8 +8,6 @@ buildPecl { buildInputs = [ pcre2 ]; - internalDeps = lib.optionals (lib.versionOlder php.version "8.0") [ php.extensions.json ]; - meta = with lib; { description = "An extension providing efficient data structures for PHP"; license = licenses.mit; diff --git a/pkgs/development/php-packages/redis/default.nix b/pkgs/development/php-packages/redis/default.nix index e4b16dd991a7..b54d85b73ecb 100644 --- a/pkgs/development/php-packages/redis/default.nix +++ b/pkgs/development/php-packages/redis/default.nix @@ -8,8 +8,6 @@ buildPecl { internalDeps = with php.extensions; [ session - ] ++ lib.optionals (lib.versionOlder php.version "8.0") [ - json ]; meta = with lib; {