From d2ed89833bd7b354dfbb08f544fcf229a0a63129 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Fri, 8 Nov 2024 20:12:52 +0100 Subject: [PATCH] php: 8.2 -> 8.3 PHP 8.2 will only receive security patches starting at the end of November[1], so it makes sense to bump the default version forward. I looked through all modules with the substring `pkgs.php`[2] and all of the usages looked fine or were fixed in a commit before this one. [1] https://www.php.net/supported-versions.php [2] I didn't take `with`/`let ... in` things into account, but honestly, if an application doesn't work with a newer PHP, it should probably be pinned down instead of blindly relying on `pkgs.php`. --- nixos/doc/manual/release-notes/rl-2505.section.md | 2 +- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2505.section.md b/nixos/doc/manual/release-notes/rl-2505.section.md index d55b5bfd42a7d..10645d55e8389 100644 --- a/nixos/doc/manual/release-notes/rl-2505.section.md +++ b/nixos/doc/manual/release-notes/rl-2505.section.md @@ -4,7 +4,7 @@ -- Create the first release note entry in this section! +- The default PHP version has been updated to 8.3. diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 691601e3aa3fb..c49b7b3b181d9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7439,7 +7439,7 @@ with pkgs; # PHP interpreters, packages and extensions. # # Set default PHP interpreter, extensions and packages - php = php82; + php = php83; phpExtensions = php.extensions; phpPackages = php.packages;