Loading pkgs/top-level/php-packages.nix +16 −6 Original line number Diff line number Diff line Loading @@ -203,7 +203,20 @@ lib.makeScope pkgs.newScope (self: with self; { # This is a set of PHP extensions meant to be used in php.buildEnv # or php.withExtensions to extend the functionality of the PHP # interpreter. extensions = { # The extensions attributes is composed of three sections: # 1. The contrib conditional extensions, which are only available on specific versions or system # 2. The contrib extensions available # 3. The core extensions extensions = # Contrib conditional extensions lib.optionalAttrs (!(lib.versionAtLeast php.version "8.3")) { blackfire = callPackage ../development/tools/misc/blackfire/php-probe.nix { inherit php; }; } // lib.optionalAttrs (!stdenv.isDarwin) { # Only available on Linux: https://www.php.net/manual/en/inotify.requirements.php inotify = callPackage ../development/php-packages/inotify { }; } // # Contrib extensions { amqp = callPackage ../development/php-packages/amqp { }; apcu = callPackage ../development/php-packages/apcu { }; Loading @@ -226,8 +239,6 @@ lib.makeScope pkgs.newScope (self: with self; { imagick = callPackage ../development/php-packages/imagick { }; inotify = callPackage ../development/php-packages/inotify { }; mailparse = callPackage ../development/php-packages/mailparse { }; maxminddb = callPackage ../development/php-packages/maxminddb { }; Loading Loading @@ -292,6 +303,7 @@ lib.makeScope pkgs.newScope (self: with self; { yaml = callPackage ../development/php-packages/yaml { }; } // ( # Core extensions let # This list contains build instructions for different modules that one may # want to build. Loading Loading @@ -637,7 +649,5 @@ lib.makeScope pkgs.newScope (self: with self; { # Produce the final attribute set of all extensions defined. in builtins.listToAttrs namedExtensions ) // lib.optionalAttrs (!(lib.versionAtLeast php.version "8.3")) { blackfire = callPackage ../development/tools/misc/blackfire/php-probe.nix { inherit php; }; }; ); }) Loading
pkgs/top-level/php-packages.nix +16 −6 Original line number Diff line number Diff line Loading @@ -203,7 +203,20 @@ lib.makeScope pkgs.newScope (self: with self; { # This is a set of PHP extensions meant to be used in php.buildEnv # or php.withExtensions to extend the functionality of the PHP # interpreter. extensions = { # The extensions attributes is composed of three sections: # 1. The contrib conditional extensions, which are only available on specific versions or system # 2. The contrib extensions available # 3. The core extensions extensions = # Contrib conditional extensions lib.optionalAttrs (!(lib.versionAtLeast php.version "8.3")) { blackfire = callPackage ../development/tools/misc/blackfire/php-probe.nix { inherit php; }; } // lib.optionalAttrs (!stdenv.isDarwin) { # Only available on Linux: https://www.php.net/manual/en/inotify.requirements.php inotify = callPackage ../development/php-packages/inotify { }; } // # Contrib extensions { amqp = callPackage ../development/php-packages/amqp { }; apcu = callPackage ../development/php-packages/apcu { }; Loading @@ -226,8 +239,6 @@ lib.makeScope pkgs.newScope (self: with self; { imagick = callPackage ../development/php-packages/imagick { }; inotify = callPackage ../development/php-packages/inotify { }; mailparse = callPackage ../development/php-packages/mailparse { }; maxminddb = callPackage ../development/php-packages/maxminddb { }; Loading Loading @@ -292,6 +303,7 @@ lib.makeScope pkgs.newScope (self: with self; { yaml = callPackage ../development/php-packages/yaml { }; } // ( # Core extensions let # This list contains build instructions for different modules that one may # want to build. Loading Loading @@ -637,7 +649,5 @@ lib.makeScope pkgs.newScope (self: with self; { # Produce the final attribute set of all extensions defined. in builtins.listToAttrs namedExtensions ) // lib.optionalAttrs (!(lib.versionAtLeast php.version "8.3")) { blackfire = callPackage ../development/tools/misc/blackfire/php-probe.nix { inherit php; }; }; ); })