mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 12:05:50 +03:00
nixos/nextcloud: php83 for nc29, update release notes
* PHP 8.3 seems supported, so let's go for it! * The conditions for which Nextcloud will be the default were bogus: for <24.11 I'd suggest to go for nextcloud29 already. The people on unstable relying on the condition were on nextcloud28 so the upgrade will work fine. Also, it's unstable, so such upgrades are to be expected IMHO. * Update the release notes to reflect that the new default is Nextcloud 29 and warn that only one major upgrade at a time can be done.
This commit is contained in:
parent
4a76833a0d
commit
23f73fb2e6
3 changed files with 7 additions and 6 deletions
|
@ -5,7 +5,7 @@ self-hostable cloud platform. The server setup can be automated using
|
|||
[services.nextcloud](#opt-services.nextcloud.enable). A
|
||||
desktop client is packaged at `pkgs.nextcloud-client`.
|
||||
|
||||
The current default by NixOS is `nextcloud28` which is also the latest
|
||||
The current default by NixOS is `nextcloud29` which is also the latest
|
||||
major version available.
|
||||
|
||||
## Basic usage {#module-services-nextcloud-basic-usage}
|
||||
|
|
|
@ -833,11 +833,12 @@ in {
|
|||
else if versionOlder stateVersion "23.05" then nextcloud25
|
||||
else if versionOlder stateVersion "23.11" then nextcloud26
|
||||
else if versionOlder stateVersion "24.05" then nextcloud27
|
||||
else if versionOlder stateVersion "24.11" then nextcloud28
|
||||
else nextcloud29
|
||||
);
|
||||
|
||||
services.nextcloud.phpPackage = pkgs.php82;
|
||||
services.nextcloud.phpPackage =
|
||||
if versionOlder cfg.package.version "29" then pkgs.php82
|
||||
else pkgs.php83;
|
||||
|
||||
services.nextcloud.phpOptions = mkMerge [
|
||||
(mapAttrs (const mkOptionDefault) defaultPHPSettings)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue