php: Upgrade from PHP 7.4 to 8.0 as default PHP

This commit is contained in:
Elis Hirwing 2021-06-03 15:35:16 +02:00
parent be7451bc14
commit d0bc04ff70
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
6 changed files with 10 additions and 8 deletions

View File

@ -17,7 +17,7 @@
<itemizedlist spacing="compact">
<listitem>
<para>
PHP now defaults to PHP 8.0, updated from 7.4
PHP now defaults to PHP 8.0, updated from 7.4.
</para>
</listitem>
</itemizedlist>

View File

@ -6,6 +6,8 @@ In addition to numerous new and upgraded packages, this release has the followin
## Highlights
* PHP now defaults to PHP 8.0, updated from 7.4.
## New Services
* [geoipupdate](https://github.com/maxmind/geoipupdate), a GeoIP

View File

@ -6,7 +6,6 @@ let
curl
filter
iconv
json
mbstring
openssl
simplexml

View File

@ -14,7 +14,6 @@ buildPecl {
};
configureFlags = [ "--with-couchbase" ];
broken = lib.versionAtLeast php.version "8.0";
buildInputs = [ libcouchbase zlib ];
internalDeps = lib.optionals (lib.versionOlder php.version "8.0") [ php.extensions.json ];
@ -45,5 +44,6 @@ buildPecl {
'')
];
meta.broken = lib.versionAtLeast php.version "8.0";
meta.maintainers = lib.teams.php.members;
}

View File

@ -1,4 +1,4 @@
{ buildPecl, fetchurl, lib, libxl }:
{ buildPecl, fetchurl, lib, libxl, php }:
let
pname = "php_excel";
phpVersion = "php7";
@ -20,5 +20,6 @@ buildPecl {
"--with-libxl-libdir=${libxl}/lib"
];
meta.broken = lib.versionAtLeast php.version "8.0";
meta.maintainers = lib.teams.php.members;
}

View File

@ -1091,7 +1091,7 @@ in
}) arangodb_3_3 arangodb_3_4 arangodb_3_5;
arangodb = arangodb_3_4;
arcanist = callPackage ../development/tools/misc/arcanist {};
arcanist = callPackage ../development/tools/misc/arcanist { php = php74; };
arduino = arduino-core.override { withGui = true; };
@ -12288,7 +12288,7 @@ in
# PHP interpreters, packages and extensions.
#
# Set default PHP interpreter, extensions and packages
php = php74;
php = php80;
phpExtensions = php.extensions;
phpPackages = php.packages;
@ -19059,7 +19059,7 @@ in
dspam = callPackage ../servers/mail/dspam { };
engelsystem = callPackage ../servers/web-apps/engelsystem { };
engelsystem = callPackage ../servers/web-apps/engelsystem { php = php74; };
envoy = callPackage ../servers/http/envoy { };
@ -24940,7 +24940,7 @@ in
lrzsz = callPackage ../tools/misc/lrzsz { };
lsp-plugins = callPackage ../applications/audio/lsp-plugins { };
lsp-plugins = callPackage ../applications/audio/lsp-plugins { php = php74; };
luminanceHDR = libsForQt5.callPackage ../applications/graphics/luminance-hdr { };