nixos/nextcloud: drop nextcloud17, deprecate nextcloud18

Both packages will get EOLed within the lifetime of 20.09. `nextcloud17`
can be removed entirely (the attribute-path is kept however to provide
meaningful errors), however `nextcloud18` must be kept as `insecure` to
make sure that users from `nextcloud17` can properly upgrade to
`nextcloud19` on NixOS 20.09.
This commit is contained in:
Maximilian Bosch
2020-09-20 19:06:37 +02:00
parent 731d55baad
commit 6b48deee54
3 changed files with 39 additions and 6 deletions

View File

@@ -27,14 +27,22 @@ let
};
};
in {
nextcloud17 = generic {
version = "17.0.6";
sha256 = "0qq7lkgzsn1zakfym5bjqzpcisxmgfcdd927ddqlhddy3zvgxrxx";
};
nextcloud17 = throw ''
Nextcloud v17 has been removed from `nixpkgs` as the support for it will be dropped
by upstream within the lifetime of NixOS 20.09[1]. Please upgrade to Nextcloud v18 by
declaring
services.nextcloud.package = pkgs.nextcloud18;
in your NixOS config.
[1] https://docs.nextcloud.com/server/18/admin_manual/release_schedule.html
'';
nextcloud18 = generic {
version = "18.0.9";
sha256 = "0rigg5pv2vnxgmjznlvxfc41s00raxa8jhib5vsznhj55qn99jm1";
insecure = true;
};
nextcloud19 = generic {