Skip to content

Commit

Permalink
Merge: nextcloud: remove 28, update apps (#374902)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 authored Jan 19, 2025
2 parents c1bf44a + 1ed0a59 commit a4afb33
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 99 deletions.
2 changes: 1 addition & 1 deletion nixos/modules/services/web-apps/nextcloud.nix
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ in {
package = mkOption {
type = types.package;
description = "Which package to use for the Nextcloud instance.";
relatedPackages = [ "nextcloud28" "nextcloud29" "nextcloud30" ];
relatedPackages = [ "nextcloud29" "nextcloud30" ];
};
phpPackage = mkPackageOption pkgs "php" {
example = "php82";
Expand Down
2 changes: 1 addition & 1 deletion nixos/tests/nextcloud/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ let
./with-objectstore.nix
];
in
listToAttrs (concatMap genTests [ 28 29 30 ])
listToAttrs (concatMap genTests [ 29 30 ])
7 changes: 0 additions & 7 deletions pkgs/servers/nextcloud/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
stdenvNoCC,
fetchurl,
nixosTests,
nextcloud28Packages,
nextcloud29Packages,
nextcloud30Packages,
}:
Expand Down Expand Up @@ -58,12 +57,6 @@ let
};
in
{
nextcloud28 = generic {
version = "28.0.14";
hash = "sha256-SpN/GIJIZCbJcD5Z7EspP2Ib6NCAt/hQFvYpkDw68zY=";
packages = nextcloud28Packages;
};

nextcloud29 = generic {
version = "29.0.11";
hash = "sha256-UGf8F91zICzC39m5ccp7uUy5UEghRgJ9rGILEjweztE=";
Expand Down
70 changes: 35 additions & 35 deletions pkgs/servers/nextcloud/packages/29.json

Large diffs are not rendered by default.

106 changes: 53 additions & 53 deletions pkgs/servers/nextcloud/packages/30.json

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,18 @@ mapAliases {
neocities-cli = neocities; # Added 2024-07-31
netbox_3_3 = throw "netbox 3.3 series has been removed as it was EOL"; # Added 2023-09-02
netbox_3_5 = throw "netbox 3.5 series has been removed as it was EOL"; # Added 2024-01-22
nextcloud28 = throw ''
Nextcloud v28 has been removed from `nixpkgs` as the support for is dropped
by upstream in 2025-01. Please upgrade to at least Nextcloud v29 by declaring
services.nextcloud.package = pkgs.nextcloud29;
in your NixOS config.
WARNING: if you were on Nextcloud 27 you have to upgrade to Nextcloud 28
first on 24.11 because Nextcloud doesn't support upgrades across multiple major versions!
''; # Added 2025-01-19
nextcloud28Packages = throw "Nextcloud 28 is EOL!"; # Added 2025-01-19
nextcloud27 = throw ''
Nextcloud v27 has been removed from `nixpkgs` as the support for is dropped
by upstream in 2024-06. Please upgrade to at least Nextcloud v28 by declaring
Expand Down
3 changes: 1 addition & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4343,9 +4343,8 @@ with pkgs;
nm-tray = libsForQt5.callPackage ../tools/networking/networkmanager/tray.nix { };

inherit (callPackages ../servers/nextcloud {})
nextcloud28 nextcloud29 nextcloud30;
nextcloud29 nextcloud30;

nextcloud28Packages = callPackage ../servers/nextcloud/packages { ncVersion = "28"; };
nextcloud29Packages = callPackage ../servers/nextcloud/packages { ncVersion = "29"; };
nextcloud30Packages = callPackage ../servers/nextcloud/packages { ncVersion = "30"; };

Expand Down

0 comments on commit a4afb33

Please sign in to comment.