Merge pull request #174295 from etu/php-default-to-php81

php: Upgrade from PHP 8.0 to 8.1 as default PHP
This commit is contained in:
Aaron Andersen 2022-05-24 23:29:17 -04:00 committed by GitHub
commit 137121f74e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View file

@ -10,7 +10,7 @@
In addition to numerous new and upgraded packages, this release
has the following highlights:
</para>
<itemizedlist spacing="compact">
<itemizedlist>
<listitem>
<para>
During cross-compilation, tests are now executed if the test
@ -31,6 +31,11 @@
<literal>stdenv.buildPlatform.canExecute stdenv.hostPlatform</literal>.
</para>
</listitem>
<listitem>
<para>
PHP now defaults to PHP 8.1, updated from 8.0.
</para>
</listitem>
</itemizedlist>
</section>
<section xml:id="sec-release-22.11-new-services">

View file

@ -17,6 +17,8 @@ In addition to numerous new and upgraded packages, this release has the followin
built for `stdenv.hostPlatform` (i.e. produced by `stdenv.cc`) by evaluating
`stdenv.buildPlatform.canExecute stdenv.hostPlatform`.
- PHP now defaults to PHP 8.1, updated from 8.0.
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
## New Services {#sec-release-22.11-new-services}

View file

@ -14357,7 +14357,7 @@ with pkgs;
# PHP interpreters, packages and extensions.
#
# Set default PHP interpreter, extensions and packages
php = php80;
php = php81;
phpExtensions = php.extensions;
phpPackages = php.packages;