3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/doc/manual
Maximilian Bosch e1e15974f8
nextcloud20: drop
The version 20 of Nextcloud will be EOLed by the end of this month[1].

Since the recommended default (that didn't raise an eval-warning) on
21.05 was Nextcloud 21, this shouldn't affect too many people.

In order to ensure that nobody does a (not working) upgrade across
several major-versions of Nextcloud, I replaced the derivation of
`nextcloud20` with a `throw` that provides instructions how to proceed.

The only case that I consider "risky" is a setup upgraded from 21.05 (or
older) with a `system.stateVersion` <21.11 and with
`services.nextcloud.package` not explicitly declared in its config. To
avoid that, I also left the `else-if` for `stateVersion < 21.03` which
now sets `services.nextcloud.package` to `pkgs.nextcloud20` and thus
leads to an eval-error. This condition can be removed
as soon as 21.05 is EOL because then it's safe to assume that only
21.11. is used as stable release where no Nextcloud <=20 exists that can
lead to such an issue.

It can't be removed earlier because then every `system.stateVersion <
21.11` would lead to `nextcloud21` which is a problem if `nextcloud19`
is still used.

[1] https://docs.nextcloud.com/server/20/admin_manual/release_schedule.html
2021-10-25 01:34:47 +02:00
..
administration nixos: nixos/doc/manual/administration/troubleshooting.xml to CommonMark 2021-09-08 14:42:23 +08:00
configuration Merge master into staging-next 2021-09-12 06:01:00 +00:00
development nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
from_md nextcloud20: drop 2021-10-25 01:34:47 +02:00
installation nixos: nixos/doc/manual/installation/installing.xml to CommonMark 2021-09-12 09:26:37 +08:00
release-notes nextcloud20: drop 2021-10-25 01:34:47 +02:00
.gitignore
contributing-to-this-manual.chapter.md nixos/doc: convert "Contributing to this manual" to CommonMark 2021-05-22 18:14:49 -07:00
default.nix treewide: fold -> foldr 2021-01-26 10:57:07 +07:00
Makefile nixos/doc/manual/Makefile: Do not format 2021-03-22 21:15:11 +01:00
man-configuration.xml
man-nixos-build-vms.xml
man-nixos-enter.xml
man-nixos-generate-config.xml
man-nixos-install.xml
man-nixos-option.xml
man-nixos-rebuild.xml Merge pull request #126544 from jonringer/nixos-rebuild-use-substitutes 2021-09-09 13:53:37 -06:00
man-nixos-version.xml
man-pages.xml
manual.xml nixos/doc: convert "Contributing to this manual" to CommonMark 2021-05-22 18:14:49 -07:00
md-to-db.sh nixos/doc/md-to-db.sh: handle path to nixpkgs with spaces 2021-10-10 11:57:51 +02:00
preface.xml Link to Libera, Matrix instead of Freenode 2021-07-06 16:35:37 +02:00
README.md nixos/manual: Fix link to contributing guide 2021-07-16 22:55:28 -07:00
shell.nix mkShell: introduce packages argument (#122180) 2021-05-13 19:17:29 +02:00