From 04fdff2517e398cfad4b951dfb8b7ffb02c81b78 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 27 Oct 2021 12:54:04 +0200 Subject: [PATCH] nixos/nextcloud: drop obsolete assertion --- nixos/modules/services/web-apps/nextcloud.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index 034ee1ae1279..e6785d8d1835 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -507,13 +507,7 @@ in { }; config = mkIf cfg.enable (mkMerge [ - { assertions = let acfg = cfg.config; in [ - { assertion = versionOlder cfg.package.version "21" -> cfg.config.defaultPhoneRegion == null; - message = "The `defaultPhoneRegion'-setting is only supported for Nextcloud >=21!"; - } - ]; - - warnings = let + { warnings = let latest = 22; upgradeWarning = major: nixos: ''