From 868e5192385b8aab48a1e1c842e4317f912bc0ad Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Tue, 24 May 2022 19:24:49 +0200 Subject: [PATCH] php: Upgrade from PHP 8.0 to 8.1 as default PHP --- nixos/doc/manual/from_md/release-notes/rl-2211.section.xml | 7 ++++++- nixos/doc/manual/release-notes/rl-2211.section.md | 2 ++ pkgs/top-level/all-packages.nix | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml index 4abcf0165a4b..79268b398e60 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml @@ -10,7 +10,7 @@ In addition to numerous new and upgraded packages, this release has the following highlights: - + During cross-compilation, tests are now executed if the test @@ -31,6 +31,11 @@ stdenv.buildPlatform.canExecute stdenv.hostPlatform. + + + PHP now defaults to PHP 8.1, updated from 8.0. + +
diff --git a/nixos/doc/manual/release-notes/rl-2211.section.md b/nixos/doc/manual/release-notes/rl-2211.section.md index 6dec063f4032..7d2eacce57fe 100644 --- a/nixos/doc/manual/release-notes/rl-2211.section.md +++ b/nixos/doc/manual/release-notes/rl-2211.section.md @@ -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. + ## New Services {#sec-release-22.11-new-services} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 52667051b855..ac0f65c04d87 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14355,7 +14355,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;